public void Renew() { Context = new ErpAccountDbContext(); }
/// <summary> /// Constructor that takes a context /// </summary> /// <param name="context">An established data context</param> public GenericRepository(TContext context) { Context = new ErpAccountDbContext(); //Context = context as AccountDbContext; }