次の方法で共有


RelationalLoggerExtensions.ForeignKeyTpcPrincipalWarning メソッド

定義

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

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

パラメーター

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

使用する診断 ロガー。

foreignKey
IForeignKey

外部キー。

適用対象