Administrator před 3 roky
rodič
revize
26f521b289
1 změnil soubory, kde provedl 6 přidání a 6 odebrání
  1. 6 6
      DBHelper/DB.cs

+ 6 - 6
DBHelper/DB.cs

@@ -216,12 +216,12 @@ namespace DBHelper
 
         public void Dispose()
         {
-            foreach (var ctx in Contexts)
-            {
-                ctx.Dispose();
-            }
-            Contexts.Clear();
-            Contexts = null;
+            //foreach (var ctx in Contexts)
+            //{
+            //    ctx.Dispose();
+            //}
+            //Contexts.Clear();
+            //Contexts = null;
         }
     }