IModel.FindTypeMappingConfiguration(Type) Method

Definition

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