Lingua

PropertyBaseExtensions.GetGetter(IPropertyBase) Metodo

Definizione

Ottiene un oggetto IClrPropertyGetter per la lettura del valore di questa proprietà.

Si noti che è un errore chiamare questo metodo per una proprietà shadow (IsShadowProperty(IPropertyBase)) perché tale proprietà non ha associato MemberInfo.

public static Microsoft.EntityFrameworkCore.Metadata.IClrPropertyGetter GetGetter(this Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase);
static member GetGetter : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> Microsoft.EntityFrameworkCore.Metadata.IClrPropertyGetter
<Extension()>
Public Function GetGetter (propertyBase As IPropertyBase) As IClrPropertyGetter

Parametri

propertyBase
IPropertyBase

Proprietà .

Valori restituiti

Funzione di accesso.

Si applica a