Idioma

SharedTableConvention.AreCompatibleDefaultConstraints Método

Definição

Obtém um valor que indica se duas restrições padrão com o mesmo nome são compatíveis.

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

Uma propriedade com uma restrição padrão.

duplicateProperty
IReadOnlyProperty

Outra propriedade com uma restrição padrão.

storeObject
StoreObjectIdentifier

O identificador do objeto de repositório.

Retornos

true se compatível

Aplica-se a