public UnitOfWork(DbContext context) { this._context = (JetEngineContext)context; }
public RepositoryBase(JetEngineContext context) { this._context = (JetEngineContext)context; this._entities = context.Set <T>(); this._type = typeof(T); }
public PolicyRepository(JetEngineContext context) : base(context) { //this._context = context; //_entities = context.Set<T>(); }