Share via


IPropertyBase.GetGetter Method

Definition

Gets a IClrPropertyGetter for reading the value of this property.

public Microsoft.EntityFrameworkCore.Metadata.IClrPropertyGetter GetGetter ();
abstract member GetGetter : unit -> Microsoft.EntityFrameworkCore.Metadata.IClrPropertyGetter
Public Function GetGetter () As IClrPropertyGetter

Returns

The accessor.

Remarks

Note that it is an error to call this method for a shadow property (IsShadowProperty()) since such a property has no associated MemberInfo.

Applies to