CoreLoggerExtensions.RequiredAttributeOnSkipNavigation 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
RequiredAttributeOnSkipNavigation(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlySkipNavigation) | |
RequiredAttributeOnSkipNavigation(IDiagnosticsLogger<DbLoggerCategory.Model>, ISkipNavigation) |
RequiredAttributeOnSkipNavigation(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlySkipNavigation)
- Source:
- CoreLoggerExtensions.cs
- Source:
- CoreLoggerExtensions.cs
- Source:
- CoreLoggerExtensions.cs
- Source:
- CoreLoggerExtensions.cs
public static void RequiredAttributeOnSkipNavigation (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IReadOnlySkipNavigation navigation);
static member RequiredAttributeOnSkipNavigation : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.IReadOnlySkipNavigation -> unit
<Extension()>
Public Sub RequiredAttributeOnSkipNavigation (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), navigation As IReadOnlySkipNavigation)
参数
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
要使用的诊断记录器。
- navigation
- IReadOnlySkipNavigation
导航属性。
适用于
RequiredAttributeOnSkipNavigation(IDiagnosticsLogger<DbLoggerCategory.Model>, ISkipNavigation)
- Source:
- CoreLoggerExtensions.cs
public static void RequiredAttributeOnSkipNavigation (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation navigation);
static member RequiredAttributeOnSkipNavigation : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation -> unit
<Extension()>
Public Sub RequiredAttributeOnSkipNavigation (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), navigation As ISkipNavigation)
参数
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
要使用的诊断记录器。
- navigation
- ISkipNavigation
导航属性。