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