语言

IRelationalCommandDiagnosticsLogger.ShouldLogCommandCreate 方法

定义

是记录还是CommandCreatingCommandCreated需要记录。

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

参数

返回

适用于