Exemple #1
0
 private void Dispose(bool disposing)
 {
     if (!this.disposed)
     {
         if (disposing)
         {
             // Placeholder : To dispose the created respositories, for standard Practise
             context.Dispose();
         }
     }
 }
 public void Dispose()
 {
     _context.Dispose();
     _connection.Dispose();
 }