Administrator 3 gadi atpakaļ
vecāks
revīzija
26f521b289
1 mainītis faili ar 6 papildinājumiem un 6 dzēšanām
  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;
         }
     }