Langue

RelationalPropertyExtensions.GetDefaultDefaultConstraintName Méthode

Définition

Génère le nom de contrainte par défaut en fonction du nom de la table et de la colonne.

public static string GetDefaultDefaultConstraintName(this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetDefaultDefaultConstraintName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> string
<Extension()>
Public Function GetDefaultDefaultConstraintName (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.

Retours

S’applique à