共用方式為


RelationalLoggerExtensions.DuplicateColumnOrders 方法

定義

DuplicateColumnOrders記錄事件。

public static void DuplicateColumnOrders (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> diagnostics, Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, System.Collections.Generic.IReadOnlyList<string> columns);
static member DuplicateColumnOrders : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> * Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier * System.Collections.Generic.IReadOnlyList<string> -> unit
<Extension()>
Public Sub DuplicateColumnOrders (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation), storeObject As StoreObjectIdentifier, columns As IReadOnlyList(Of String))

參數

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

要使用的診斷記錄器。

storeObject
StoreObjectIdentifier

資料表。

columns
IReadOnlyList<String>

資料行。

適用於