public void SetOracleTimestampTzFormat() { if (SetThreadInfoArgs != null) { SetThreadInfo.Invoke(null, SetThreadInfoArgs); } }
private void SetOracleTimestampTzFormat() { if (ClientInfo == null) { return; } var threadId = Thread.CurrentThread.ManagedThreadId; if (_threadFormatSet.ContainsKey(threadId)) { return; } SetThreadInfo.Invoke(null, new[] { ClientInfo }); _threadFormatSet[threadId] = true; }