RelationalTypeMappingSource.IRelationalTypeMappingSource.FindMapping 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.
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
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för