Language

RelationalMemberClassifier Class

Definition

Classifies CLR members of a type during model building for relational providers, honoring an explicitly configured column type (e.g. via TypeName) so that such members are mapped as scalar properties rather than property bags.

[System.Runtime.CompilerServices.Nullable(0)]
public class RelationalMemberClassifier : Microsoft.EntityFrameworkCore.Metadata.MemberClassifier
[<System.Runtime.CompilerServices.Nullable(0)>]
type RelationalMemberClassifier = class
    inherit MemberClassifier
Public Class RelationalMemberClassifier
Inherits MemberClassifier
Inheritance
RelationalMemberClassifier
Attributes

Remarks

This type is typically used by database providers (and other extensions). It is generally not used in application code.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

Constructors

Name Description
RelationalMemberClassifier(MemberClassifierDependencies)

Creates a new instance of RelationalMemberClassifier.

Properties

Name Description
Dependencies

Dependencies for this service.

(Inherited from MemberClassifier)

Methods

Name Description
GetConfigurationType(Type, IConventionModel)

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

(Inherited from MemberClassifier)
IsCandidateComplexProperty(MemberInfo, IConventionModel, Boolean, Type, Boolean)

Returns a value indicating whether the given member is a candidate complex property.

(Inherited from MemberClassifier)
IsCandidateNavigationProperty(MemberInfo, IConventionModel, Boolean, Type, Nullable<Boolean>, Boolean)

Returns a value indicating whether the given member is a candidate navigation.

IsCandidatePrimitiveProperty(MemberInfo, IConventionModel, Boolean, CoreTypeMapping, Type, Boolean)

Returns a value indicating whether the given member is a candidate primitive (scalar) property.

IsCandidateServiceProperty(MemberInfo, IConventionModel, Boolean, IParameterBindingFactory, Boolean)

Returns a value indicating whether the given member is a candidate service property.

(Inherited from MemberClassifier)

Applies to