Bagikan melalui


CoreLoggerExtensions.MultiplePrimaryKeyCandidates Metode

Definisi

Overload

MultiplePrimaryKeyCandidates(IDiagnosticsLogger<DbLoggerCategory.Model>, IProperty, IProperty)

Log untuk peristiwa tersebut MultiplePrimaryKeyCandidates .

MultiplePrimaryKeyCandidates(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyProperty, IReadOnlyProperty)

Log untuk peristiwa tersebut MultiplePrimaryKeyCandidates .

MultiplePrimaryKeyCandidates(IDiagnosticsLogger<DbLoggerCategory.Model>, IProperty, IProperty)

Log untuk peristiwa tersebut MultiplePrimaryKeyCandidates .

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

Parameter

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Pencatat diagnostik yang akan digunakan.

firstProperty
IProperty

Properti pertama.

secondProperty
IProperty

Properti kedua.

Berlaku untuk

MultiplePrimaryKeyCandidates(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyProperty, IReadOnlyProperty)

Log untuk peristiwa tersebut MultiplePrimaryKeyCandidates .

public static void MultiplePrimaryKeyCandidates (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty firstProperty, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty secondProperty);
static member MultiplePrimaryKeyCandidates : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> unit
<Extension()>
Public Sub MultiplePrimaryKeyCandidates (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), firstProperty As IReadOnlyProperty, secondProperty As IReadOnlyProperty)

Parameter

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Pencatat diagnostik yang akan digunakan.

firstProperty
IReadOnlyProperty

Properti pertama.

secondProperty
IReadOnlyProperty

Properti kedua.

Berlaku untuk