语言

IRelationalCommandDiagnosticsLogger.ShouldLogCommandExecute 方法

定义

是记录还是CommandExecutingCommandExecuted需要记录。

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

参数

返回

适用于