RelationalTypeMapper.FindCustomMapping(IProperty) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the relational database type for the given property, using a separate type mapper if needed. This base implementation uses custom mappers for string and byte array properties. Returns null if no mapping is found.
protected virtual Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping FindCustomMapping (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
abstract member FindCustomMapping : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
override this.FindCustomMapping : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
Protected Overridable Function FindCustomMapping (property As IProperty) As RelationalTypeMapping
Parameters
- property
- IProperty
The property to get the mapping for.
Returns
The type mapping to be used.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework