PropertyBaseExtensions.GetGetter(IPropertyBase) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a IClrPropertyGetter for reading the value of this property.
Note that it is an error to call this method for a shadow property (IsShadowProperty(IPropertyBase)) since such a property has no associated 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
Parameters
- propertyBase
- IPropertyBase
The property.
Returns
The accessor.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework