語言

PropertyBaseExtensions.GetGetter(IPropertyBase) 方法

定義

讀取該房產價值而獲得 A 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

屬性。

傳回

存取程式。

適用於