Поделиться через


CoreLoggerExtensions.MultiplePrimaryKeyCandidates Метод

Определение

Перегрузки

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

Регистрирует MultiplePrimaryKeyCandidates событие.

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

Регистрирует MultiplePrimaryKeyCandidates событие.

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

Регистрирует 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)

Параметры

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Используемое средство ведения журнала диагностика.

firstProperty
IProperty

Первое свойство.

secondProperty
IProperty

Второе свойство.

Применяется к

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

Регистрирует 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)

Параметры

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Используемое средство ведения журнала диагностика.

firstProperty
IReadOnlyProperty

Первое свойство.

secondProperty
IReadOnlyProperty

Второе свойство.

Применяется к