Beispiel #1
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         db.Dispose();
     }
     base.Dispose(disposing);
 }
 public void Dispose()
 {
     if (_contexto != null)
     {
         _contexto.Dispose();
     }
     GC.SuppressFinalize(this);
 }
Beispiel #3
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                _contexto.Dispose();
            }

            base.Dispose(disposing);
        }
Beispiel #4
0
 public void Dispose()
 {
     _contexto.Dispose();
 }
Beispiel #5
0
 public void RollBack()
 {
     _contexto.Dispose();
 }