Exemple #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (!disposedValue)
     {
         if (disposing)
         {
             context.Dispose();
         }
         disposedValue = true;
     }
 }
Exemple #2
0
 public void Dispose()
 {
     _context.Dispose();
 }
Exemple #3
0
 public void Dispose()
 {
     _ctx.Dispose();
 }
 public void Dispose()
 {
     dbContext.Dispose();
 }
Exemple #5
0
 public void Dispose()
 {
     DB.Dispose();
     GC.SuppressFinalize(this);
 }