protected override void Dispose(bool disposing) { if (disposing) { db.Dispose(); } base.Dispose(disposing); }
protected override void Dispose(bool disposing) { _contexto.Dispose(); base.Dispose(disposing); }
public static void FinalizarTestes() { _db.Dispose(); }
public static void DescartarContexto() { _dbContext.Dispose(); }
public void Dispose() { _context.Dispose(); }
public static void DescartarContexto() { //_contexto.Database.Delete(); _contexto.Dispose(); }