RelationalKeyExtensions.GetDefaultName Method
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.
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. |
- 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
Entity Framework Core 5.0 ja muud versioonid
Toode | Versioonid |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0 |
- 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
Entity Framework Core 9.0 ja muud versioonid
Toode | Versioonid |
---|---|
Entity Framework Core | 6.0, 7.0, 8.0, 9.0 |
- 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
Entity Framework Core 5.0
Toode | Versioonid |
---|---|
Entity Framework Core | 5.0 |
- 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 Core 9.0 ja muud versioonid
Toode | Versioonid |
---|---|
Entity Framework Core | 6.0, 7.0, 8.0, 9.0 |
Toote „Entity Framework“ tagasiside
Entity Framework on avatud lähtekoodiga projekt. Tagasiside andmiseks valige link: