Example #1
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         db.Dispose();
     }
     base.Dispose(disposing);
 }
 public void Dispose()
 {
     _newsDataContextWrapper?.Dispose();
     GC.SuppressFinalize(this);
 }
 public void Dispose()
 {
     _Db?.Dispose();
     GC.SuppressFinalize(this);
 }