protected virtual void Dispose(bool disposing) { if (disposing) { if (context != null) { context.Dispose(); context = null; } } }
public RepositoryDAO() { context = new ProjectManagerDbContext(); dbSet = context.Set <T>(); }