PropertyBaseExtensions.IsShadowProperty(IPropertyBase) Method

Definition

Caution

Use IReadOnlyPropertyBase.IsShadowProperty

Gets a value indicating whether this is a shadow property. A shadow property is one that does not have a corresponding property in the entity class. The current value for the property is stored in the ChangeTracker rather than being stored in instances of the entity class.

public static bool IsShadowProperty (this Microsoft.EntityFrameworkCore.Metadata.IPropertyBase property);
[System.Obsolete("Use IReadOnlyPropertyBase.IsShadowProperty")]
public static bool IsShadowProperty (this Microsoft.EntityFrameworkCore.Metadata.IPropertyBase property);
static member IsShadowProperty : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> bool
[<System.Obsolete("Use IReadOnlyPropertyBase.IsShadowProperty")>]
static member IsShadowProperty : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> bool
<Extension()>
Public Function IsShadowProperty (property As IPropertyBase) As Boolean

Parameters

property
IPropertyBase

The property to check.

Returns

true if the property is a shadow property, otherwise false.

Attributes

Applies to