RelationalLoggerExtensions.IndexPropertiesBothMappedAndNotMappedToTable 方法

定义

public static void IndexPropertiesBothMappedAndNotMappedToTable (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.IIndex index, string unmappedPropertyName);
static member IndexPropertiesBothMappedAndNotMappedToTable : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Metadata.IIndex * string -> unit
<Extension()>
Public Sub IndexPropertiesBothMappedAndNotMappedToTable (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation), entityType As IEntityType, index As IIndex, unmappedPropertyName As String)

参数

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

要使用的诊断记录器。

entityType
IEntityType

定义索引的实体类型。

index
IIndex

实体类型的索引。

unmappedPropertyName
String

未映射的属性的名称。

适用于