共用方式為


RelationalLoggerExtensions.TpcStoreGeneratedIdentityWarning 方法

定義

public static void TpcStoreGeneratedIdentityWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member TpcStoreGeneratedIdentityWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> * Microsoft.EntityFrameworkCore.Metadata.IProperty -> unit
<Extension()>
Public Sub TpcStoreGeneratedIdentityWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation), property As IProperty)

參數

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

要使用的診斷記錄器。

property
IProperty

定義索引的實體類型。

適用於