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

適用於