CoreLoggerExtensions.ShadowForeignKeyPropertyCreated 方法

定义

public static void ShadowForeignKeyPropertyCreated (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IProperty property, string basePropertyName);
static member ShadowForeignKeyPropertyCreated : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> * Microsoft.EntityFrameworkCore.Metadata.IProperty * string -> unit
<Extension()>
Public Sub ShadowForeignKeyPropertyCreated (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation), property As IProperty, basePropertyName As String)

参数

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

要使用的诊断记录器。

property
IProperty

属性。

basePropertyName
String

未命名的属性名称。

适用于