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
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
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
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
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
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
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
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
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
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