Udostępnij za pośrednictwem


RelationalModelValidator.ValidateCompatible Metoda

Definicja

Przeciążenia

ValidateCompatible(ITrigger, ITrigger, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Sprawdza zgodność dwóch wyzwalaczy o tej samej nazwie.

ValidateCompatible(IProperty, IProperty, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Sprawdza zgodność dwóch właściwości zamapowanych na tę samą kolumnę.

ValidateCompatible(IKey, IKey, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Sprawdza zgodność dwóch kluczy mapowanych na to samo unikatowe ograniczenie.

ValidateCompatible(IForeignKey, IForeignKey, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Sprawdza zgodność dwóch kluczy obcych mapowanych na to samo ograniczenie klucza obcego.

ValidateCompatible(ICheckConstraint, ICheckConstraint, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Sprawdza zgodność dwóch ograniczeń sprawdzania o tej samej nazwie.

ValidateCompatible(IIndex, IIndex, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Sprawdza zgodność dwóch indeksów mapowanych na ten sam indeks tabeli.

ValidateCompatible(ITrigger, ITrigger, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Źródło:
RelationalModelValidator.cs
Źródło:
RelationalModelValidator.cs
Źródło:
RelationalModelValidator.cs

Sprawdza zgodność dwóch wyzwalaczy o tej samej nazwie.

protected virtual void ValidateCompatible (Microsoft.EntityFrameworkCore.Metadata.ITrigger trigger, Microsoft.EntityFrameworkCore.Metadata.ITrigger duplicateTrigger, string indexName, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.ITrigger * Microsoft.EntityFrameworkCore.Metadata.ITrigger * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.ITrigger * Microsoft.EntityFrameworkCore.Metadata.ITrigger * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateCompatible (trigger As ITrigger, duplicateTrigger As ITrigger, indexName As String, storeObject As StoreObjectIdentifier, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

Parametry

trigger
ITrigger

Wyzwalacz.

duplicateTrigger
ITrigger

Inny wyzwalacz.

indexName
String

Nazwa wyzwalacza.

storeObject
StoreObjectIdentifier

Identyfikator obiektu magazynu.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Rejestrator do użycia.

Dotyczy

ValidateCompatible(IProperty, IProperty, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Źródło:
RelationalModelValidator.cs
Źródło:
RelationalModelValidator.cs
Źródło:
RelationalModelValidator.cs
Źródło:
RelationalModelValidator.cs
Źródło:
RelationalModelValidator.cs

Sprawdza zgodność dwóch właściwości zamapowanych na tę samą kolumnę.

protected virtual void ValidateCompatible (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Metadata.IProperty duplicateProperty, string columnName, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.IProperty * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.IProperty * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateCompatible (property As IProperty, duplicateProperty As IProperty, columnName As String, storeObject As StoreObjectIdentifier, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

Parametry

property
IProperty

Właściwość.

duplicateProperty
IProperty

Inna właściwość.

columnName
String

Nazwa kolumny.

storeObject
StoreObjectIdentifier

Identyfikator obiektu magazynu.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Rejestrator do użycia.

Dotyczy

ValidateCompatible(IKey, IKey, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Źródło:
RelationalModelValidator.cs
Źródło:
RelationalModelValidator.cs
Źródło:
RelationalModelValidator.cs
Źródło:
RelationalModelValidator.cs
Źródło:
RelationalModelValidator.cs

Sprawdza zgodność dwóch kluczy mapowanych na to samo unikatowe ograniczenie.

protected virtual void ValidateCompatible (Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Metadata.IKey duplicateKey, string keyName, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Metadata.IKey * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Metadata.IKey * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateCompatible (key As IKey, duplicateKey As IKey, keyName As String, storeObject As StoreObjectIdentifier, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

Parametry

key
IKey

Klucz.

duplicateKey
IKey

Inny klucz.

keyName
String

Nazwa unikatowego ograniczenia.

storeObject
StoreObjectIdentifier

Identyfikator obiektu magazynu.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Rejestrator do użycia.

Dotyczy

ValidateCompatible(IForeignKey, IForeignKey, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Źródło:
RelationalModelValidator.cs
Źródło:
RelationalModelValidator.cs
Źródło:
RelationalModelValidator.cs
Źródło:
RelationalModelValidator.cs
Źródło:
RelationalModelValidator.cs

Sprawdza zgodność dwóch kluczy obcych mapowanych na to samo ograniczenie klucza obcego.

protected virtual void ValidateCompatible (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Metadata.IForeignKey duplicateForeignKey, string foreignKeyName, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Metadata.IForeignKey * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Metadata.IForeignKey * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateCompatible (foreignKey As IForeignKey, duplicateForeignKey As IForeignKey, foreignKeyName As String, storeObject As StoreObjectIdentifier, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

Parametry

foreignKey
IForeignKey

Klucz obcy.

duplicateForeignKey
IForeignKey

Inny klucz obcy.

foreignKeyName
String

Nazwa ograniczenia klucza obcego.

storeObject
StoreObjectIdentifier

Identyfikator obiektu magazynu.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Rejestrator do użycia.

Dotyczy

ValidateCompatible(ICheckConstraint, ICheckConstraint, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Źródło:
RelationalModelValidator.cs
Źródło:
RelationalModelValidator.cs
Źródło:
RelationalModelValidator.cs
Źródło:
RelationalModelValidator.cs

Sprawdza zgodność dwóch ograniczeń sprawdzania o tej samej nazwie.

protected virtual void ValidateCompatible (Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint checkConstraint, Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint duplicateCheckConstraint, string indexName, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateCompatible (checkConstraint As ICheckConstraint, duplicateCheckConstraint As ICheckConstraint, indexName As String, storeObject As StoreObjectIdentifier, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

Parametry

checkConstraint
ICheckConstraint

Ograniczenie sprawdzania.

duplicateCheckConstraint
ICheckConstraint

Inne ograniczenie sprawdzania.

indexName
String

Nazwa ograniczenia sprawdzania.

storeObject
StoreObjectIdentifier

Identyfikator obiektu magazynu.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Rejestrator do użycia.

Dotyczy

ValidateCompatible(IIndex, IIndex, String, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Źródło:
RelationalModelValidator.cs
Źródło:
RelationalModelValidator.cs
Źródło:
RelationalModelValidator.cs
Źródło:
RelationalModelValidator.cs
Źródło:
RelationalModelValidator.cs

Sprawdza zgodność dwóch indeksów mapowanych na ten sam indeks tabeli.

protected virtual void ValidateCompatible (Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Metadata.IIndex duplicateIndex, string indexName, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Metadata.IIndex * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateCompatible : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Metadata.IIndex * string * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateCompatible (index As IIndex, duplicateIndex As IIndex, indexName As String, storeObject As StoreObjectIdentifier, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

Parametry

index
IIndex

Indeks.

duplicateIndex
IIndex

Inny indeks.

indexName
String

Nazwa indeksu.

storeObject
StoreObjectIdentifier

Identyfikator obiektu magazynu.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Rejestrator do użycia.

Dotyczy