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
MemberInfomodel
IConventionModelshouldBeOwned
bool?
Returns
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
MemberInfomodel
IConventionModel
Returns
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
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
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
MemberInfomodel
IConventionModelelementType
TypeexplicitlyConfigured
bool
Returns
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
MemberInfomodel
IConventionModeltypeMapping
CoreTypeMapping