CoreLoggerExtensions.ShadowForeignKeyPropertyCreated 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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
未命名的属性名称。