Exemple #1
0
 public void Dispose()
 {
     Db?.Dispose();
 }
 public void Dispose()
 {
     _dataDbContext.Dispose();
 }
 protected override void Dispose(bool disposing)
 {
     //garbage collector won't dispose datbase connection properly
     _context.Dispose();
 }
 public void Dispose()
 {
     DataDbContext?.Dispose();
 }