Delen via


PropertyBaseExtensions.GetFieldName(IPropertyBase) Method

Definition

Gets the name of the backing field for this property, or null if the backing field is not known.

public static string GetFieldName (this Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase);
static member GetFieldName : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> string
<Extension()>
Public Function GetFieldName (propertyBase As IPropertyBase) As String

Parameters

propertyBase
IPropertyBase

The property for which the backing field will be returned.

Returns

The name of the backing field, or null.

Applies to