RelationalModelValidator.ValidateSharedForeignKeysCompatibility Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
| Nazwisko | Opis |
|---|---|
| ValidateSharedForeignKeysCompatibility(IReadOnlyList<IEntityType>, String) |
Ten interfejs API obsługuje infrastrukturę Entity Framework Core i nie jest przeznaczony do użycia bezpośrednio z kodu. Ten interfejs API może ulec zmianie lub zostać usunięty w przyszłych wersjach. |
| ValidateSharedForeignKeysCompatibility(IReadOnlyList<IEntityType>, String, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>) |
Sprawdza zgodność kluczy obcych w danej tabeli udostępnionej. |
| ValidateSharedForeignKeysCompatibility(IReadOnlyList<IEntityType>, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>) |
Sprawdza zgodność kluczy obcych w danej tabeli udostępnionej. |
ValidateSharedForeignKeysCompatibility(IReadOnlyList<IEntityType>, String)
- Źródło:
- RelationalModelValidator.cs
- Źródło:
- RelationalModelValidator.cs
Ten interfejs API obsługuje infrastrukturę Entity Framework Core i nie jest przeznaczony do użycia bezpośrednio z kodu. Ten interfejs API może ulec zmianie lub zostać usunięty w przyszłych wersjach.
protected virtual void ValidateSharedForeignKeysCompatibility(System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> mappedTypes, string tableName);
abstract member ValidateSharedForeignKeysCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * string -> unit
override this.ValidateSharedForeignKeysCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * string -> unit
Protected Overridable Sub ValidateSharedForeignKeysCompatibility (mappedTypes As IReadOnlyList(Of IEntityType), tableName As String)
Parametry
- mappedTypes
- IReadOnlyList<IEntityType>
- tableName
- String
Dotyczy
ValidateSharedForeignKeysCompatibility(IReadOnlyList<IEntityType>, String, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)
- Źródło:
- RelationalModelValidator.cs
- Źródło:
- RelationalModelValidator.cs
Sprawdza zgodność kluczy obcych w danej tabeli udostępnionej.
protected virtual void ValidateSharedForeignKeysCompatibility(System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> mappedTypes, string tableName, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidateSharedForeignKeysCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * string * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateSharedForeignKeysCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * string * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateSharedForeignKeysCompatibility (mappedTypes As IReadOnlyList(Of IEntityType), tableName As String, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))
Parametry
- mappedTypes
- IReadOnlyList<IEntityType>
Zamapowane typy jednostek.
- tableName
- String
Nazwa tabeli
Rejestrator do użycia.
Dotyczy
ValidateSharedForeignKeysCompatibility(IReadOnlyList<IEntityType>, 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
- Źródło:
- RelationalModelValidator.cs
- Źródło:
- RelationalModelValidator.cs
Sprawdza zgodność kluczy obcych w danej tabeli udostępnionej.
protected virtual void ValidateSharedForeignKeysCompatibility(System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> mappedTypes, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
protected virtual void ValidateSharedForeignKeysCompatibility(System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> mappedTypes, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier table, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidateSharedForeignKeysCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateSharedForeignKeysCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
abstract member ValidateSharedForeignKeysCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateSharedForeignKeysCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateSharedForeignKeysCompatibility (mappedTypes As IReadOnlyList(Of IEntityType), storeObject As StoreObjectIdentifier, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))
Protected Overridable Sub ValidateSharedForeignKeysCompatibility (mappedTypes As IReadOnlyList(Of IEntityType), table As StoreObjectIdentifier, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))
Parametry
- mappedTypes
- IReadOnlyList<IEntityType>
Zamapowane typy jednostek.
- storeObjecttable
- StoreObjectIdentifier
Identyfikator obiektu magazynu.
Rejestrator do użycia.