Lenguaje

SharedTableConvention.AreCompatibleDefaultConstraints Método

Definición

Obtiene un valor que indica si dos restricciones predeterminadas con el mismo nombre son compatibles.

protected virtual bool AreCompatibleDefaultConstraints(Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty duplicateProperty, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
abstract member AreCompatibleDefaultConstraints : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> bool
override this.AreCompatibleDefaultConstraints : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> bool
Protected Overridable Function AreCompatibleDefaultConstraints (property As IReadOnlyProperty, duplicateProperty As IReadOnlyProperty, storeObject As StoreObjectIdentifier) As Boolean

Parámetros

property
IReadOnlyProperty

Propiedad con una restricción predeterminada.

duplicateProperty
IReadOnlyProperty

Otra propiedad con una restricción predeterminada.

storeObject
StoreObjectIdentifier

Identificador del objeto de almacén.

Devoluciones

true si es compatible

Se aplica a