Example #1
0
 public void Dispose()
 {
     if (db != null)
     {
         try
         {
             db.Dispose();
         }
         catch {}
     }
 }
 public void Dispose()
 {
     if (!SharedContext && Context != null)
     {
         try
         {
             Context.Dispose();
         }
         catch { }
     }
 }