Beispiel #1
0
 public static void DbDispose()
 {
     if (InternalDb != null)
     {
         InternalDb.Dispose();
         InternalDb = null;
     }
 }
Beispiel #2
0
        public static void DbDispose()
        {
            if (InternalDb == null)
            {
                return;
            }

            InternalDb.Dispose();
            InternalDb = null;
        }
 public void Dispose()
 {
     InternalDb.Dispose();
 }