public void Dispose() { ConfigLoader?.Dispose(); if (SessionStore != null) { SessionStore.LocalSession?.Dispose(); SessionStore.Dispose(); } }
public void Dispose() { ConfigLoader.Dispose(); SessionStore.Dispose(); CacheManager.Dispose(); if (_logger.IsEnabled(LogLevel.Warning)) { _logger.LogWarning($"SmartSqlMapper Dispose."); } }