public void Dispose() { if (context != null) { context.Dispose(); context = null; } }
public ProductDao() { context = new ThiASPDbContext(); }
public CategoryDao() { context = new ThiASPDbContext(); }
public CatDb() { context = new ThiASPDbContext(); }
public UserDb() { context = new ThiASPDbContext(); }
public BaseDb() { context = new ThiASPDbContext(); }