Share via


PropertyBaseExtensions.IsShadowProperty(IPropertyBase) Metodo

Definizione

Attenzione

Use IReadOnlyPropertyBase.IsShadowProperty

Ottiene un valore che indica se si tratta di una proprietà shadow. Una proprietà shadow è una che non ha una proprietà corrispondente nella classe di entità. Il valore corrente per la proprietà viene archiviato nell'oggetto ChangeTracker anziché archiviato in istanze della classe di entità.

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

Parametri

property
IPropertyBase

Proprietà da controllare.

Restituisce

true se la proprietà è una proprietà shadow, in caso contrario false.

Attributi

Si applica a