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);
 }
Exemple #3
0
 public PolicyRepository(JetEngineContext context) : base(context)
 {
     //this._context = context;
     //_entities = context.Set<T>();
 }