Share via


RelationalTypeMapper.FindCustomMapping(IProperty) Method

Definition

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