CoreLoggerExtensions.ConflictingKeylessAndKeyAttributesWarning 方法

定义

重载

ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IProperty)

ConflictingKeylessAndKeyAttributesWarning事件的日志。

ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyProperty)

ConflictingKeylessAndKeyAttributesWarning事件的日志。

ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IProperty)

Source:
CoreLoggerExtensions.cs
public static void ConflictingKeylessAndKeyAttributesWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member ConflictingKeylessAndKeyAttributesWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.IProperty -> unit
<Extension()>
Public Sub ConflictingKeylessAndKeyAttributesWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), property As IProperty)

参数

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

要使用的诊断记录器。

property
IProperty

定义为键的一部分的属性。

适用于

ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyProperty)

Source:
CoreLoggerExtensions.cs
Source:
CoreLoggerExtensions.cs
Source:
CoreLoggerExtensions.cs
Source:
CoreLoggerExtensions.cs
public static void ConflictingKeylessAndKeyAttributesWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member ConflictingKeylessAndKeyAttributesWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> unit
<Extension()>
Public Sub ConflictingKeylessAndKeyAttributesWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), property As IReadOnlyProperty)

参数

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

要使用的诊断记录器。

property
IReadOnlyProperty

定义为键的一部分的属性。

适用于