示例#1
0
 public UnitOfWork(JooleContext Context)
 {
     this._context = Context;
     Users         = new UserRepository(_context);
     Projects      = new ProjectRepository(_context);
     Categories    = new CategoryRepository(_context);
     SubCategories = new SubCategoryRepository(_context);
     //ProductList = new ProductListRepository(_context);
     Products              = new ProductRepository(_context);
     ProductProperties     = new ProductPropertyRepository(_context);
     ProductPropertyValues = new ProductPropertyValueRepository(_context);
     ProdToProjRelations   = new ProductToProjectRepository(_context);
     TechSpecFilter        = new TechSpecFilterRepository(_context);
 }
示例#2
0
 public ProductToProjectRepository(JooleContext context)
     : base(context)
 {
 }
示例#3
0
 public SubCategoryRepository(JooleContext context) : base(context)
 {
 }
示例#4
0
 public UserRepository(JooleContext context)
     : base(context)
 {
     Context1 = context;
 }
示例#5
0
 public TechSpecFilterRepository(JooleContext context) : base(context)
 {
 }
 public ProductPropertyRepository(JooleContext context)
     : base(context)
 {
 }
示例#7
0
 public Repository(JooleContext Context)
 {
     this.Context = Context;
 }
 public TechPropRepository(JooleContext context) : base(context)
 {
 }
 public ManufacturerRepository(JooleContext context) : base(context)
 {
 }