Table of Contents

Class PropertyExtensions

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 PropertyExtensions
Inheritance
PropertyExtensions
Inherited Members

Methods

FindFirstDifferentPrincipal(IReadOnlyProperty)

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 IReadOnlyProperty? FindFirstDifferentPrincipal(this IReadOnlyProperty property)

Parameters

property IReadOnlyProperty

Returns

IReadOnlyProperty

FindGenerationProperty(IProperty)

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 IProperty? FindGenerationProperty(this IProperty property)

Parameters

property IProperty

Returns

IProperty

ForAdd(ValueGenerated)

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 ForAdd(this ValueGenerated valueGenerated)

Parameters

valueGenerated ValueGenerated

Returns

bool

ForUpdate(ValueGenerated)

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 ForUpdate(this ValueGenerated valueGenerated)

Parameters

valueGenerated ValueGenerated

Returns

bool

IsForeignKeyToSelf(IReadOnlyProperty)

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 IsForeignKeyToSelf(this IReadOnlyProperty property)

Parameters

property IReadOnlyProperty

Returns

bool

IsKey(Property)

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 IsKey(this Property property)

Parameters

property Property

Returns

bool

MayBeStoreGenerated(IProperty)

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 MayBeStoreGenerated(this IProperty property)

Parameters

property IProperty

Returns

bool

RequiresOriginalValue(IReadOnlyComplexProperty)

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 RequiresOriginalValue(this IReadOnlyComplexProperty property)

Parameters

property IReadOnlyComplexProperty

Returns

bool

RequiresOriginalValue(IReadOnlyProperty)

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 RequiresOriginalValue(this IReadOnlyProperty property)

Parameters

property IReadOnlyProperty

Returns

bool

RequiresValueGenerator(IReadOnlyProperty)

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 RequiresValueGenerator(this IReadOnlyProperty property)

Parameters

property IReadOnlyProperty

Returns

bool