共用方式為


ProviderConventionSetBuilderDependencies.ValidationLogger 屬性

定義

模型驗證記錄器。

public Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> ValidationLogger { get; }
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>
member this.ValidationLogger : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> with get, set
Public ReadOnly Property ValidationLogger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation)
Public Property ValidationLogger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation)

屬性值

適用於