Table of Contents

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

MemberInfo

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

int

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

PropertyAccessors

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

PropertyIndexes

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

int

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

int

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

int

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

bool

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

bool

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 IPropertyBase
forMaterialization bool
forSet bool
memberInfo MemberInfo
errorMessage string

Returns

bool