共用方式為


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)

屬性值

適用於