Bahasa

RelationalModelValidator.ValidateSharedKeysCompatibility Metode

Definisi

Overload

Nama Deskripsi
ValidateSharedKeysCompatibility(IReadOnlyList<IEntityType>, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Memvalidasi kompatibilitas kunci primer dan alternatif dalam tabel bersama tertentu.

ValidateSharedKeysCompatibility(IReadOnlyList<IEntityType>, String)

API ini mendukung infrastruktur Entity Framework Core dan tidak dimaksudkan untuk digunakan langsung dari kode Anda. API ini dapat berubah atau dihapus dalam rilis mendatang.

ValidateSharedKeysCompatibility(IReadOnlyList<IEntityType>, String, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Memvalidasi kompatibilitas kunci primer dan alternatif dalam tabel bersama tertentu.

ValidateSharedKeysCompatibility(IReadOnlyList<IEntityType>, StoreObjectIdentifier, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Sumber:
RelationalModelValidator.cs
Sumber:
RelationalModelValidator.cs
Sumber:
RelationalModelValidator.cs
Sumber:
RelationalModelValidator.cs
Sumber:
RelationalModelValidator.cs
Sumber:
RelationalModelValidator.cs
Sumber:
RelationalModelValidator.cs

Memvalidasi kompatibilitas kunci primer dan alternatif dalam tabel bersama tertentu.

protected virtual void ValidateSharedKeysCompatibility(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 ValidateSharedKeysCompatibility(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 ValidateSharedKeysCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateSharedKeysCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
abstract member ValidateSharedKeysCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateSharedKeysCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateSharedKeysCompatibility (mappedTypes As IReadOnlyList(Of IEntityType), storeObject As StoreObjectIdentifier, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))
Protected Overridable Sub ValidateSharedKeysCompatibility (mappedTypes As IReadOnlyList(Of IEntityType), table As StoreObjectIdentifier, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

Parameter

mappedTypes
IReadOnlyList<IEntityType>

Jenis entitas yang dipetakan.

storeObjecttable
StoreObjectIdentifier

Pengidentifikasi objek penyimpanan.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Pencatat yang akan digunakan.

Berlaku untuk

ValidateSharedKeysCompatibility(IReadOnlyList<IEntityType>, String)

Sumber:
RelationalModelValidator.cs
Sumber:
RelationalModelValidator.cs

API ini mendukung infrastruktur Entity Framework Core dan tidak dimaksudkan untuk digunakan langsung dari kode Anda. API ini dapat berubah atau dihapus dalam rilis mendatang.

protected virtual void ValidateSharedKeysCompatibility(System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> mappedTypes, string tableName);
abstract member ValidateSharedKeysCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * string -> unit
override this.ValidateSharedKeysCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * string -> unit
Protected Overridable Sub ValidateSharedKeysCompatibility (mappedTypes As IReadOnlyList(Of IEntityType), tableName As String)

Parameter

mappedTypes
IReadOnlyList<IEntityType>
tableName
String

Berlaku untuk

ValidateSharedKeysCompatibility(IReadOnlyList<IEntityType>, String, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Sumber:
RelationalModelValidator.cs
Sumber:
RelationalModelValidator.cs

Memvalidasi kompatibilitas kunci primer dan alternatif dalam tabel bersama tertentu.

protected virtual void ValidateSharedKeysCompatibility(System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> mappedTypes, string tableName, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidateSharedKeysCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * string * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateSharedKeysCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * string * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateSharedKeysCompatibility (mappedTypes As IReadOnlyList(Of IEntityType), tableName As String, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

Parameter

mappedTypes
IReadOnlyList<IEntityType>

Jenis entitas yang dipetakan.

tableName
String

Nama tabel.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Pencatat yang akan digunakan.

Berlaku untuk