语言

PropertyBaseExtensions.GetFieldName(IPropertyBase) 方法

定义

获取此属性的后盾字段的名称,或者 null 如果后盾字段未知。

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

参数

propertyBase
IPropertyBase

将返回其后盾字段的属性。

返回

支持字段的名称,或 null。

适用于