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