示例#1
0
 /// <summary>
 /// RoleRepository
 /// </summary>
 /// <param name="context"></param>
 public RolesRepository(FilmstanContext context, ISieveProcessor sieveProcessor)
 {
     this.context          = context;
     this.sieveProcessor   = sieveProcessor;
     AccessLevelRepository = new AccessLevelsRpostiory(context);
     RoleEntite            = context.Set <Role>();
 }
示例#2
0
 public UsersRepository(FilmstanContext context, ISieveProcessor sieveProcessor)
 {
     this.context        = context;
     this.sieveProcessor = sieveProcessor;
     Users = context.Set <User>();
     UsersRoleRepository      = new UserRoleRepository(context);
     ActivationCodeRepository = new ActivationCodeRepository(context);
 }
示例#3
0
 public CategoryRepository(FilmstanContext context, ISieveProcessor sieveProcessor)
 {
     this.context               = context;
     this.sieveProcessor        = sieveProcessor;
     CategoryEntite             = context.Set <Category>();
     CategoryPropertyRepository = new CategoryPropertyRepository(context);
     BrandRepository            = new BrandRepository(context, sieveProcessor);
 }
示例#4
0
 public UserRoleRepository(FilmstanContext context)
 {
     this.context = context;
     UserRoles    = context.Set <UserRole>();
 }
示例#5
0
 public AccessLevelsRpostiory(FilmstanContext context)
 {
     this.context = context;
     AccessLevels = context.Set <AccessLevel>();
 }
示例#6
0
 public BrandRepository(FilmstanContext context, ISieveProcessor sieveProcessor)
 {
     this.context        = context;
     this.sieveProcessor = sieveProcessor;
     Brands = context.Set <Brand>();
 }
示例#7
0
 public CategoryPropertyRepository(FilmstanContext context)
 {
     this.context       = context;
     CategoryProperties = context.Set <CategoryProperty>();
 }
 public PostMagazineRepository(FilmstanContext context)
 {
     this.context         = context;
     PostMagazinesEntitie = context.Set <PostMagazine>();
 }
示例#9
0
 public ActivationCodeRepository(FilmstanContext context)
 {
     this.context    = context;
     ActivationCodes = context.Set <ActivationCode>();
 }