Class PropertyBaseExtensions
- 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 static class PropertyBaseExtensions
- Inheritance
-
PropertyBaseExtensions
- Inherited Members
Methods
GetIdentifyingMemberInfo(IReadOnlyPropertyBase)
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 static MemberInfo? GetIdentifyingMemberInfo(this IReadOnlyPropertyBase propertyBase)
Parameters
propertyBase
IReadOnlyPropertyBase
Returns
GetOriginalValueIndex(IPropertyBase)
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 static int GetOriginalValueIndex(this IPropertyBase propertyBase)
Parameters
propertyBase
IPropertyBase
Returns
GetPropertyAccessors(IPropertyBase)
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 static PropertyAccessors GetPropertyAccessors(this IPropertyBase propertyBase)
Parameters
propertyBase
IPropertyBase
Returns
GetPropertyIndexes(IPropertyBase)
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 static PropertyIndexes GetPropertyIndexes(this IPropertyBase propertyBase)
Parameters
propertyBase
IPropertyBase
Returns
GetRelationshipIndex(IPropertyBase)
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 static int GetRelationshipIndex(this IPropertyBase propertyBase)
Parameters
propertyBase
IPropertyBase
Returns
GetShadowIndex(IPropertyBase)
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 static int GetShadowIndex(this IPropertyBase propertyBase)
Parameters
propertyBase
IPropertyBase
Returns
GetStoreGeneratedIndex(IPropertyBase)
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 static int GetStoreGeneratedIndex(this IPropertyBase propertyBase)
Parameters
propertyBase
IPropertyBase
Returns
IsIndexerProperty(PropertyBase)
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 static bool IsIndexerProperty(this PropertyBase propertyBase)
Parameters
propertyBase
PropertyBase
Returns
IsShadowProperty(PropertyBase)
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 static bool IsShadowProperty(this PropertyBase propertyBase)
Parameters
propertyBase
PropertyBase
Returns
TryGetMemberInfo(IPropertyBase, bool, bool, out MemberInfo?, out string?)
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 static bool TryGetMemberInfo(this IPropertyBase propertyBase, bool forMaterialization, bool forSet, out MemberInfo? memberInfo, out string? errorMessage)
Parameters
propertyBase
IPropertyBaseforMaterialization
boolforSet
boolmemberInfo
MemberInfoerrorMessage
string