共用方式為


IRelationalConnectionDiagnosticsLogger.ShouldLogConnectionCreate 方法

定義

是否需要 ConnectionCreatingConnectionCreated 記錄。

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

參數

傳回

適用於