IModel.FindTypeMappingConfiguration(Type) 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.
Finds the pre-convention configuration for a given scalar Type.
public Microsoft.EntityFrameworkCore.Metadata.ITypeMappingConfiguration? FindTypeMappingConfiguration (Type scalarType);
abstract member FindTypeMappingConfiguration : Type -> Microsoft.EntityFrameworkCore.Metadata.ITypeMappingConfiguration
Public Function FindTypeMappingConfiguration (scalarType As Type) As ITypeMappingConfiguration
Parameters
- scalarType
- Type
The CLR type.
Returns
The pre-convention configuration or null
if none is found.
Remarks
See Modeling entity types and relationships for more information and examples.
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