Table of Contents

Interface IMemberClassifier

Namespace
Microsoft.EntityFrameworkCore.Metadata.Internal
Assembly
Microsoft.EntityFrameworkCore.dll

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.

public interface IMemberClassifier

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

FindCandidateNavigationPropertyType(MemberInfo, IConventionModel, out bool?)

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.

Type? FindCandidateNavigationPropertyType(MemberInfo memberInfo, IConventionModel model, out bool? shouldBeOwned)

Parameters

memberInfo MemberInfo
model IConventionModel
shouldBeOwned bool?

Returns

Type

FindServicePropertyCandidateBindingFactory(MemberInfo, IConventionModel)

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.

IParameterBindingFactory? FindServicePropertyCandidateBindingFactory(MemberInfo memberInfo, IConventionModel model)

Parameters

memberInfo MemberInfo
model IConventionModel

Returns

IParameterBindingFactory

GetInverseCandidateTypes(IConventionEntityType)

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.

IReadOnlyCollection<Type> GetInverseCandidateTypes(IConventionEntityType entityType)

Parameters

entityType IConventionEntityType

Returns

IReadOnlyCollection<Type>

GetNavigationCandidates(IConventionEntityType)

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.

ImmutableSortedDictionary<PropertyInfo, (Type Type, bool? ShouldBeOwned)> GetNavigationCandidates(IConventionEntityType entityType)

Parameters

entityType IConventionEntityType

Returns

ImmutableSortedDictionary<PropertyInfo, (Type Type, bool? ShouldBeOwned)>

IsCandidateComplexProperty(MemberInfo, IConventionModel, out Type?, out bool)

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.

bool IsCandidateComplexProperty(MemberInfo memberInfo, IConventionModel model, out Type? elementType, out bool explicitlyConfigured)

Parameters

memberInfo MemberInfo
model IConventionModel
elementType Type
explicitlyConfigured bool

Returns

bool

IsCandidatePrimitiveProperty(MemberInfo, IConventionModel, out CoreTypeMapping?)

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.

bool IsCandidatePrimitiveProperty(MemberInfo memberInfo, IConventionModel model, out CoreTypeMapping? typeMapping)

Parameters

memberInfo MemberInfo
model IConventionModel
typeMapping CoreTypeMapping

Returns

bool