RelationalKeyExtensions.GetDefaultName 方法

定義

多載

GetDefaultName(IKey)

傳回將用於此索引鍵的預設索引鍵條件約束名稱。

GetDefaultName(IReadOnlyKey)

傳回將用於此索引鍵的預設索引鍵條件約束名稱。

GetDefaultName(IKey, StoreObjectIdentifier)

傳回用於特定資料表之此索引鍵的預設索引鍵條件約束名稱。

GetDefaultName(IReadOnlyKey, StoreObjectIdentifier)

傳回用於特定資料表之此索引鍵的預設索引鍵條件約束名稱。

GetDefaultName(IKey)

傳回將用於此索引鍵的預設索引鍵條件約束名稱。

public static string GetDefaultName (this Microsoft.EntityFrameworkCore.Metadata.IKey key);
static member GetDefaultName : Microsoft.EntityFrameworkCore.Metadata.IKey -> string
<Extension()>
Public Function GetDefaultName (key As IKey) As String

參數

key
IKey

索引鍵。

傳回

用於此索引鍵的預設索引鍵條件約束名稱。

適用於

GetDefaultName(IReadOnlyKey)

傳回將用於此索引鍵的預設索引鍵條件約束名稱。

public static string GetDefaultName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey key);
public static string? GetDefaultName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey key);
static member GetDefaultName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey -> string
<Extension()>
Public Function GetDefaultName (key As IReadOnlyKey) As String

參數

key
IReadOnlyKey

索引鍵。

傳回

用於此索引鍵的預設索引鍵條件約束名稱。

適用於

GetDefaultName(IKey, StoreObjectIdentifier)

傳回用於特定資料表之此索引鍵的預設索引鍵條件約束名稱。

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

參數

key
IKey

索引鍵。

storeObject
StoreObjectIdentifier

包含存放區物件的識別碼。

傳回

用於此索引鍵的預設索引鍵條件約束名稱。

適用於

GetDefaultName(IReadOnlyKey, StoreObjectIdentifier)

傳回用於特定資料表之此索引鍵的預設索引鍵條件約束名稱。

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

參數

key
IReadOnlyKey

索引鍵。

storeObject
StoreObjectIdentifier

包含存放區物件的識別碼。

傳回

用於此索引鍵的預設索引鍵條件約束名稱。

適用於