Lenguaje

RelationalPropertyExtensions.GetDefaultDefaultConstraintName Método

Definición

Genera el nombre de restricción predeterminado en función del nombre de la tabla y de la columna.

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

Parámetros

property
IReadOnlyProperty

La propiedad.

storeObject
StoreObjectIdentifier

Identificador de objeto de almacén para el que se va a generar el nombre.

Devoluciones

Se aplica a