CoreLoggerExtensions.MultiplePrimaryKeyCandidates 方法

定义

重载

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

MultiplePrimaryKeyCandidates事件的日志。

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

MultiplePrimaryKeyCandidates事件的日志。

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

Source:
CoreLoggerExtensions.cs
Source:
CoreLoggerExtensions.cs
Source:
CoreLoggerExtensions.cs

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)

Source:
CoreLoggerExtensions.cs
Source:
CoreLoggerExtensions.cs
Source:
CoreLoggerExtensions.cs
Source:
CoreLoggerExtensions.cs

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

第二个属性。

适用于