RelationalPropertyExtensions.GetDefaultColumnName 方法

定義

多載

GetDefaultColumnName(IReadOnlyProperty, StoreObjectIdentifier)

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

GetDefaultColumnName(IProperty, StoreObjectIdentifier)

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

GetDefaultColumnName(IProperty)
已淘汰.

傳回屬性要對應到的預設資料表資料行名稱。

GetDefaultColumnName(IReadOnlyProperty)

傳回屬性所對應之資料行的預設基底名稱

GetDefaultColumnName(IReadOnlyProperty, StoreObjectIdentifier)

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

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

參數

property
IReadOnlyProperty

屬性。

storeObject
StoreObjectIdentifier

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

傳回

要對應屬性的預設資料行名稱。

適用於

GetDefaultColumnName(IProperty, StoreObjectIdentifier)

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

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

參數

property
IProperty

屬性。

storeObject
StoreObjectIdentifier

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

傳回

要對應屬性的預設資料行名稱。

適用於

GetDefaultColumnName(IProperty)

警告

Use the overload that takes a StoreObjectIdentifier

傳回屬性要對應到的預設資料表資料行名稱。

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

參數

property
IProperty

屬性。

傳回

要對應屬性的預設資料表資料行名稱。

屬性

適用於

GetDefaultColumnName(IReadOnlyProperty)

傳回屬性所對應之資料行的預設基底名稱

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

參數

property
IReadOnlyProperty

屬性。

傳回

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

適用於