Example #1
0
 public UnitOfWork(Var_2Context context)
 {
     this._context = context;
     this.Varuti   = new VarutRepo(this._context);
     this.Blogs    = new BlogsRepository(this._context);
     this.Posts    = new PostsRepo(this._context);
     this.Sections = new SectionsRepo(this._context);
 }
Example #2
0
 public PostsRepo(Var_2Context context) : base(context)
 {
     this._context = context;
 }
Example #3
0
 public BlogsRepository(Var_2Context context) : base(context)
 {
     this._entities = context;
 }
Example #4
0
 public SectionsRepo(Var_2Context context) : base(context)
 {
     this._context = context;
 }
Example #5
0
 public VarutRepo(Var_2Context context) : base(context)
 {
     this._context = context;
 }