예제 #1
0
 public UserRepository(RoomPlannerDevContext context)
 {
     this.context = context;
     users        = context.User;
     userrole     = context.UserRole;
     role         = context.Role;
 }
 public AvailabilityRepository(RoomPlannerDevContext context)
 {
     this.context   = context;
     availabilities = context.Set <Availability>();
 }
예제 #3
0
        //private IEventRepository eventRepository;

        public DbOperation(RoomPlannerDevContext context)
        {
            this.context = context;
        }
예제 #4
0
 public DepartmentRepository(RoomPlannerDevContext context)
 {
     _context     = context;
     _departments = context.Set <Department>();
 }
예제 #5
0
 public EventRepository(RoomPlannerDevContext context)
 {
     this.context = context;
     events       = context.Event;
 }
예제 #6
0
 public UserRoleRepository(RoomPlannerDevContext context)
 {
     this.context = context;
     userroles    = context.Set <UserRole>();
 }
예제 #7
0
 public RoleRepository(RoomPlannerDevContext context)
 {
     _context = context;
     _roles   = context.Set <Role>();
 }
예제 #8
0
 public PenaltyRepository(RoomPlannerDevContext context)
 {
     this.context = context;
     penalties    = context.Set <Penalty>();
 }
예제 #9
0
 public TimeSlotRepository(RoomPlannerDevContext context)
 {
     this.context = context;
     timeslots    = context.Set <TimeSlot>();
 }
예제 #10
0
 public RoomRepository(RoomPlannerDevContext context)
 {
     this.context = context;
     rooms        = context.Set <Room>();
 }