CoreLoggerExtensions.ShadowPropertyCreated 方法

定义

ShadowPropertyCreated事件的日志。

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

参数

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

要使用的诊断记录器。

property
IProperty

属性。

适用于