CoreLoggerExtensions.MultiplePrimaryKeyCandidates 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
MultiplePrimaryKeyCandidates(IDiagnosticsLogger<DbLoggerCategory.Model>, IProperty, IProperty)
- Source:
- CoreLoggerExtensions.cs
- Source:
- CoreLoggerExtensions.cs
- Source:
- CoreLoggerExtensions.cs
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
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
第二个属性。