Exemple #1
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         db.Dispose();
     }
     base.Dispose(disposing);
 }
Exemple #2
0
        protected override void Dispose(bool disposing)
        {
            _contexto.Dispose();

            base.Dispose(disposing);
        }
Exemple #3
0
 public static void FinalizarTestes()
 {
     _db.Dispose();
 }
Exemple #4
0
 public static void DescartarContexto()
 {
     _dbContext.Dispose();
 }
Exemple #5
0
 public void Dispose()
 {
     _context.Dispose();
 }
Exemple #6
0
 public static void DescartarContexto()
 {
     //_contexto.Database.Delete();
     _contexto.Dispose();
 }