CoreLoggerExtensions.RequiredAttributeInverted 方法

定义

注意

现已弃用此 API。

RequiredAttributeInverted事件的日志。

public static void RequiredAttributeInverted (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
[System.Obsolete]
public static void RequiredAttributeInverted (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
static member RequiredAttributeInverted : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.INavigation -> unit
[<System.Obsolete>]
static member RequiredAttributeInverted : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.INavigation -> unit
<Extension()>
Public Sub RequiredAttributeInverted (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), navigation As INavigation)

参数

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

要使用的诊断记录器。

navigation
INavigation

导航属性。

属性

适用于