Example #1
0
        public BaseTest()
        {
            EffortProviderFactory.ResetDb();

            this.Factory = new EffortProviderFactory();
            this.Context = new RedackDbContext(this.Factory.CreateConnection(""));
        }
Example #2
0
 public Repository <TEntity> CreateRepository <TEntity>(RedackDbContext context, bool disposable = true) where TEntity : DomainLayer.Models.Entity
 {
     return(new Repository <TEntity>(context, disposable));
 }