次の方法で共有


RelationalLoggerExtensions.OptionalDependentWithoutIdentifyingPropertyWarning メソッド

定義

イベントをログに記録します OptionalDependentWithoutIdentifyingPropertyWarning

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

パラメーター

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

使用する診断 ロガー。

entityType
IEntityType

エンティティの型。

適用対象