RelationalPropertyExtensions.GetColumnName 方法

定義

多載

GetColumnName(IProperty)
已淘汰.

傳回屬性所對應之資料表資料行的名稱。

GetColumnName(IReadOnlyProperty)

傳回屬性要對應的資料行名稱。

GetColumnName(IProperty, StoreObjectIdentifier)

傳回屬性對應至特定資料表的資料行名稱。

GetColumnName(IReadOnlyProperty, StoreObjectIdentifier)

傳回屬性對應至特定資料表的資料行名稱。

GetColumnName(IProperty)

警告

Use the overload that takes a StoreObjectIdentifier

傳回屬性所對應之資料表資料行的名稱。

public static string GetColumnName (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[System.Obsolete("Use the overload that takes a StoreObjectIdentifier")]
public static string GetColumnName (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetColumnName : Microsoft.EntityFrameworkCore.Metadata.IProperty -> string
[<System.Obsolete("Use the overload that takes a StoreObjectIdentifier")>]
static member GetColumnName : Microsoft.EntityFrameworkCore.Metadata.IProperty -> string
<Extension()>
Public Function GetColumnName (property As IProperty) As String

參數

property
IProperty

屬性。

傳回

屬性所對應之資料表資料行的名稱。

屬性

適用於

GetColumnName(IReadOnlyProperty)

傳回屬性要對應的資料行名稱。

public static string GetColumnName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member GetColumnName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> string
<Extension()>
Public Function GetColumnName (property As IReadOnlyProperty) As String

參數

property
IReadOnlyProperty

屬性。

傳回

要對應屬性之資料行的基底名稱。

適用於

GetColumnName(IProperty, StoreObjectIdentifier)

傳回屬性對應至特定資料表的資料行名稱。

public static string GetColumnName (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetColumnName : Microsoft.EntityFrameworkCore.Metadata.IProperty * StoreObjectIdentifier -> string
<Extension()>
Public Function GetColumnName (property As IProperty, ByRef storeObject As StoreObjectIdentifier) As String

參數

property
IProperty

屬性。

storeObject
StoreObjectIdentifier

包含資料行之類似資料表的存放區物件的識別碼。

傳回

屬性所對應之資料行的名稱。

適用於

GetColumnName(IReadOnlyProperty, StoreObjectIdentifier)

傳回屬性對應至特定資料表的資料行名稱。

public static string? GetColumnName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetColumnName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> string
<Extension()>
Public Function GetColumnName (property As IReadOnlyProperty, ByRef storeObject As StoreObjectIdentifier) As String

參數

property
IReadOnlyProperty

屬性。

storeObject
StoreObjectIdentifier

包含資料行之類似資料表的存放區物件的識別碼。

傳回

屬性所對應之資料行的名稱。

適用於