共用方式為


CoreLoggerExtensions.ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning 方法

定義

多載

ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation, MemberInfo)

ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning事件的記錄。

ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation, MemberInfo)

ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning事件的記錄。

ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation, MemberInfo)

來源:
CoreLoggerExtensions.cs
來源:
CoreLoggerExtensions.cs
來源:
CoreLoggerExtensions.cs
public static void ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, System.Reflection.MemberInfo property);
static member ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.INavigation * System.Reflection.MemberInfo -> unit
<Extension()>
Public Sub ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), navigation As INavigation, property As MemberInfo)

參數

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

要使用的診斷記錄器。

navigation
INavigation

瀏覽屬性。

property
MemberInfo

屬性。

適用於

ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation, MemberInfo)

來源:
CoreLoggerExtensions.cs
來源:
CoreLoggerExtensions.cs
來源:
CoreLoggerExtensions.cs
來源:
CoreLoggerExtensions.cs
public static void ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigation navigation, System.Reflection.MemberInfo property);
static member ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigation * System.Reflection.MemberInfo -> unit
<Extension()>
Public Sub ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), navigation As IReadOnlyNavigation, property As MemberInfo)

參數

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

要使用的診斷記錄器。

navigation
IReadOnlyNavigation

瀏覽屬性。

property
MemberInfo

屬性。

適用於