共用方式為


IRelationalConnectionDiagnosticsLogger.ShouldLogConnectionDispose 方法

定義

是否需要 ConnectionDisposingConnectionDisposed 記錄。

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

參數

傳回

適用於