Sdílet prostřednictvím


RelationalLoggerExtensions.TpcStoreGeneratedIdentityWarning Metoda

Definice

Zaznamená událost TpcStoreGeneratedIdentityWarning do protokolu.

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)

Parametry

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Diagnostický protokolovací nástroj, který se má použít.

property
IProperty

Typ entity, pro kterou je index definovaný.

Platí pro