共用方式為


QueryContextDependencies.QueryLogger 屬性

定義

查詢記錄器。

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

屬性值

適用於