Language

MemberClassifier.GetConfigurationType(Type, IConventionModel) Method

Definition

Returns the kind of structural type the given CLR type has been explicitly configured as, or null if it has no explicit configuration.

protected virtual Microsoft.EntityFrameworkCore.Metadata.TypeConfigurationType? GetConfigurationType(Type type, Microsoft.EntityFrameworkCore.Metadata.IConventionModel model);
abstract member GetConfigurationType : Type * Microsoft.EntityFrameworkCore.Metadata.IConventionModel -> Nullable<Microsoft.EntityFrameworkCore.Metadata.TypeConfigurationType>
override this.GetConfigurationType : Type * Microsoft.EntityFrameworkCore.Metadata.IConventionModel -> Nullable<Microsoft.EntityFrameworkCore.Metadata.TypeConfigurationType>
Protected Overridable Function GetConfigurationType (type As Type, model As IConventionModel) As Nullable(Of TypeConfigurationType)

Parameters

type
Type

The CLR type.

model
IConventionModel

The model.

Returns

The configuration type, or null.

Applies to