RelationalForeignKeyExtensions.GetDefaultName Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
GetDefaultName(IForeignKey) |
Retourne le nom de contrainte par défaut qui serait utilisé pour cette clé étrangère. |
GetDefaultName(IReadOnlyForeignKey) |
Retourne le nom de contrainte par défaut qui serait utilisé pour cette clé étrangère. |
GetDefaultName(IForeignKey, StoreObjectIdentifier, StoreObjectIdentifier) |
Retourne le nom de contrainte par défaut qui serait utilisé pour cette clé étrangère. |
GetDefaultName(IReadOnlyForeignKey, StoreObjectIdentifier, StoreObjectIdentifier) |
Retourne le nom de contrainte par défaut qui serait utilisé pour cette clé étrangère. |
GetDefaultName(IForeignKey)
Retourne le nom de contrainte par défaut qui serait utilisé pour cette clé étrangère.
public static string GetDefaultName (this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
static member GetDefaultName : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> string
<Extension()>
Public Function GetDefaultName (foreignKey As IForeignKey) As String
Paramètres
- foreignKey
- IForeignKey
Clé étrangère.
Retours
Nom de contrainte par défaut qui serait utilisé pour cette clé étrangère.
S’applique à
GetDefaultName(IReadOnlyForeignKey)
Retourne le nom de contrainte par défaut qui serait utilisé pour cette clé étrangère.
public static string GetDefaultName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey foreignKey);
public static string? GetDefaultName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey foreignKey);
static member GetDefaultName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey -> string
<Extension()>
Public Function GetDefaultName (foreignKey As IReadOnlyForeignKey) As String
Paramètres
- foreignKey
- IReadOnlyForeignKey
Clé étrangère.
Retours
Nom de contrainte par défaut qui serait utilisé pour cette clé étrangère.
S’applique à
GetDefaultName(IForeignKey, StoreObjectIdentifier, StoreObjectIdentifier)
Retourne le nom de contrainte par défaut qui serait utilisé pour cette clé étrangère.
public static string GetDefaultName (this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier principalStoreObject);
static member GetDefaultName : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * StoreObjectIdentifier * StoreObjectIdentifier -> string
<Extension()>
Public Function GetDefaultName (foreignKey As IForeignKey, ByRef storeObject As StoreObjectIdentifier, ByRef principalStoreObject As StoreObjectIdentifier) As String
Paramètres
- foreignKey
- IForeignKey
Clé étrangère.
- storeObject
- StoreObjectIdentifier
Identificateur de l’objet de magasin contenant.
- principalStoreObject
- StoreObjectIdentifier
Identificateur de l’objet de magasin principal.
Retours
Nom de contrainte par défaut qui serait utilisé pour cette clé étrangère.
S’applique à
GetDefaultName(IReadOnlyForeignKey, StoreObjectIdentifier, StoreObjectIdentifier)
Retourne le nom de contrainte par défaut qui serait utilisé pour cette clé étrangère.
public static string? GetDefaultName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey foreignKey, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier principalStoreObject);
static member GetDefaultName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey * StoreObjectIdentifier * StoreObjectIdentifier -> string
<Extension()>
Public Function GetDefaultName (foreignKey As IReadOnlyForeignKey, ByRef storeObject As StoreObjectIdentifier, ByRef principalStoreObject As StoreObjectIdentifier) As String
Paramètres
- foreignKey
- IReadOnlyForeignKey
Clé étrangère.
- storeObject
- StoreObjectIdentifier
Identificateur de l’objet de magasin contenant.
- principalStoreObject
- StoreObjectIdentifier
Identificateur de l’objet de magasin principal.
Retours
Nom de contrainte par défaut qui serait utilisé pour cette clé étrangère.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour