PropertyBaseExtensions.GetGetter(IPropertyBase) 方法

定義

IClrPropertyGetter取得 ,用於讀取這個屬性的值。

請注意,針對陰影屬性呼叫這個方法 () IsShadowProperty(IPropertyBase) 是一個錯誤,因為這類屬性沒有相關聯的 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

參數

propertyBase
IPropertyBase

屬性。

傳回

存取子。

適用於