ModelCreationDependencies.ValidationLogger 属性

定义

验证记录器。

public Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> ValidationLogger { get; init; }
member this.ValidationLogger : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> with get, set
Public Property ValidationLogger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation)

属性值

适用于