Lenguaje

IMemberClassifier Interface

Definition

Classifies CLR members of a type during model building, determining whether a member is a candidate navigation, scalar property, complex property, or service property.

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

Warning: do not implement this interface directly. Instead, derive from MemberClassifier.

public interface IMemberClassifier
type IMemberClassifier = interface
Public Interface IMemberClassifier
Derived

Remarks

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.

Methods

Name Description
GetInverseCandidateTypes(IConventionEntityType, Boolean)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

GetNavigationCandidates(IConventionEntityType, Boolean)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

IsCandidateComplexProperty(MemberInfo, IConventionModel, Boolean, Type, Boolean)

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

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.

Applies to