Administrator 3 年之前
父節點
當前提交
26f521b289
共有 1 個文件被更改,包括 6 次插入6 次删除
  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;
         }
     }