Share via


RelationalTypeMappingSource.IRelationalTypeMappingSource.FindMapping Method

Definition

Overloads

IRelationalTypeMappingSource.FindMapping(IProperty)

Finds the type mapping for a given IProperty.

IRelationalTypeMappingSource.FindMapping(MemberInfo)

Finds the type mapping for a given MemberInfo representing a field or a property of a CLR type.

IRelationalTypeMappingSource.FindMapping(Type)

Finds the type mapping for a given Type.

IRelationalTypeMappingSource.FindMapping(Type, IModel)

Finds the type mapping for a given Type, taking pre-convention configuration into the account.

IRelationalTypeMappingSource.FindMapping(IProperty)

Finds the type mapping for a given IProperty.

Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping IRelationalTypeMappingSource.FindMapping (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? IRelationalTypeMappingSource.FindMapping (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
abstract member Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource.FindMapping : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
override this.Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource.FindMapping : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
Function FindMapping (property As IProperty) As RelationalTypeMapping Implements IRelationalTypeMappingSource.FindMapping

Parameters

property
IProperty

The property.

Returns

The type mapping, or null if none was found.

Implements

Applies to

IRelationalTypeMappingSource.FindMapping(MemberInfo)

Finds the type mapping for a given MemberInfo representing a field or a property of a CLR type.

Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping IRelationalTypeMappingSource.FindMapping (System.Reflection.MemberInfo member);
Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? IRelationalTypeMappingSource.FindMapping (System.Reflection.MemberInfo member);
abstract member Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource.FindMapping : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
override this.Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource.FindMapping : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
Function FindMapping (member As MemberInfo) As RelationalTypeMapping Implements IRelationalTypeMappingSource.FindMapping

Parameters

member
MemberInfo

The field or property.

Returns

The type mapping, or null if none was found.

Implements

Applies to

IRelationalTypeMappingSource.FindMapping(Type)

Finds the type mapping for a given Type.

Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping IRelationalTypeMappingSource.FindMapping (Type type);
Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? IRelationalTypeMappingSource.FindMapping (Type type);
abstract member Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource.FindMapping : Type -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
override this.Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource.FindMapping : Type -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
Function FindMapping (type As Type) As RelationalTypeMapping Implements IRelationalTypeMappingSource.FindMapping

Parameters

type
Type

The CLR type.

Returns

The type mapping, or null if none was found.

Implements

Applies to

IRelationalTypeMappingSource.FindMapping(Type, IModel)

Finds the type mapping for a given Type, taking pre-convention configuration into the account.

Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? IRelationalTypeMappingSource.FindMapping (Type type, Microsoft.EntityFrameworkCore.Metadata.IModel model);
abstract member Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource.FindMapping : Type * Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
override this.Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource.FindMapping : Type * Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
Function FindMapping (type As Type, model As IModel) As RelationalTypeMapping Implements IRelationalTypeMappingSource.FindMapping

Parameters

type
Type

The CLR type.

model
IModel

The model.

Returns

The type mapping, or null if none was found.

Implements

Applies to