共用方式為


IRelationalCommandDiagnosticsLogger.ShouldLogCommandExecute 方法

定義

是否需要 CommandExecutingCommandExecuted 記錄。

public bool ShouldLogCommandExecute (DateTimeOffset now);
abstract member ShouldLogCommandExecute : DateTimeOffset -> bool
Public Function ShouldLogCommandExecute (now As DateTimeOffset) As Boolean

參數

傳回

適用於