Udostępnij za pośrednictwem


RelationalKeyExtensions.GetName Method

Definition

Overloads

GetName(IKey)

Returns the key constraint name for this key.

GetName(IReadOnlyKey)

Returns the key constraint name for this key.

GetName(IKey, StoreObjectIdentifier)

Returns the key constraint name for this key for a particular table.

GetName(IReadOnlyKey, StoreObjectIdentifier)

Returns the key constraint name for this key for a particular table.

GetName(IKey)

Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs

Returns the key constraint name for this key.

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

Parameters

key
IKey

The key.

Returns

The key constraint name for this key.

Applies to

GetName(IReadOnlyKey)

Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs

Returns the key constraint name for this key.

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

Parameters

key
IReadOnlyKey

The key.

Returns

The key constraint name for this key.

Applies to

GetName(IKey, StoreObjectIdentifier)

Source:
RelationalKeyExtensions.cs

Returns the key constraint name for this key for a particular table.

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

Parameters

key
IKey

The key.

storeObject
StoreObjectIdentifier

The identifier of the containing store object.

Returns

The key constraint name for this key.

Applies to

GetName(IReadOnlyKey, StoreObjectIdentifier)

Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs
Source:
RelationalKeyExtensions.cs

Returns the key constraint name for this key for a particular table.

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

Parameters

key
IReadOnlyKey

The key.

storeObject
StoreObjectIdentifier

The identifier of the containing store object.

Returns

The key constraint name for this key.

Applies to