IPropertyBase.GetGetter Method

Definition

Gets a IClrPropertyGetter for reading the value of this property.

C#
public Microsoft.EntityFrameworkCore.Metadata.IClrPropertyGetter GetGetter ();

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

Product Versions
Entity Framework Core 6.0, 7.0, 8.0, 9.0