Example #1
0
 public BlogSystemData(IBlogSystemDbContext context)
 {
     this.context      = context;
     this.repositories = new Dictionary <Type, object>();
 }
Example #2
0
 public GenericRepository(BlogSystemDbContext context)
 {
     this.context = context;
     this.set     = context.Set <T>();
 }
Example #3
0
 public GenericRepository(IBlogSystemDbContext context)
 {
     this.Context = context;
     this.DbSet   = this.Context.Set <T>();
 }
Example #4
0
 public UsersRepository(IBlogSystemDbContext context)
     : base(context)
 {
 }