RelationalPropertyExtensions.GetDefaultConstraintName 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
| Nom | Description |
|---|---|
| GetDefaultConstraintName(IReadOnlyProperty) |
Obtient le nom de contrainte par défaut. |
| GetDefaultConstraintName(IReadOnlyProperty, StoreObjectIdentifier) |
Obtient le nom de contrainte par défaut. |
GetDefaultConstraintName(IReadOnlyProperty)
Obtient le nom de contrainte par défaut.
public static string? GetDefaultConstraintName(this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member GetDefaultConstraintName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> string
<Extension()>
Public Function GetDefaultConstraintName (property As IReadOnlyProperty) As String
Paramètres
- property
- IReadOnlyProperty
La propriété.
Retours
S’applique à
GetDefaultConstraintName(IReadOnlyProperty, StoreObjectIdentifier)
Obtient le nom de contrainte par défaut.
public static string? GetDefaultConstraintName(this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetDefaultConstraintName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> string
<Extension()>
Public Function GetDefaultConstraintName (property As IReadOnlyProperty, ByRef storeObject As StoreObjectIdentifier) As String
Paramètres
- property
- IReadOnlyProperty
La propriété.
- storeObject
- StoreObjectIdentifier
Identificateur d’objet de magasin pour lequel générer le nom.