RelationalKeyExtensions.GetDefaultName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetDefaultName(IKey) |
Returns the default key constraint name that would be used for this key. |
GetDefaultName(IReadOnlyKey) |
Returns the default key constraint name that would be used for this key. |
GetDefaultName(IKey, StoreObjectIdentifier) |
Returns the default key constraint name that would be used for this key for a particular table. |
GetDefaultName(IReadOnlyKey, StoreObjectIdentifier) |
Returns the default key constraint name that would be used for this key for a particular table. |
GetDefaultName(IKey)
- Source:
- RelationalKeyExtensions.cs
- Source:
- RelationalKeyExtensions.cs
- Source:
- RelationalKeyExtensions.cs
Returns the default key constraint name that would be used for this key.
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
Parameters
- key
- IKey
The key.
Returns
The default key constraint name that would be used for this key.
Applies to
GetDefaultName(IReadOnlyKey)
- Source:
- RelationalKeyExtensions.cs
- Source:
- RelationalKeyExtensions.cs
- Source:
- RelationalKeyExtensions.cs
- Source:
- RelationalKeyExtensions.cs
Returns the default key constraint name that would be used for this key.
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
Parameters
- key
- IReadOnlyKey
The key.
Returns
The default key constraint name that would be used for this key.
Applies to
GetDefaultName(IKey, StoreObjectIdentifier)
- Source:
- RelationalKeyExtensions.cs
Returns the default key constraint name that would be used for this key for a particular table.
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
Parameters
- key
- IKey
The key.
- storeObject
- StoreObjectIdentifier
The identifier of the containing store object.
Returns
The default key constraint name that would be used for this key.
Applies to
GetDefaultName(IReadOnlyKey, StoreObjectIdentifier)
- Source:
- RelationalKeyExtensions.cs
- Source:
- RelationalKeyExtensions.cs
- Source:
- RelationalKeyExtensions.cs
- Source:
- RelationalKeyExtensions.cs
Returns the default key constraint name that would be used for this key for a particular table.
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
Parameters
- key
- IReadOnlyKey
The key.
- storeObject
- StoreObjectIdentifier
The identifier of the containing store object.
Returns
The default key constraint name that would be used for this key.
Applies to
Entity Framework