コード例 #1
0
 public BookingDALManageFacade()
 {
     _bookingDALProvider       = new BookingDAL();
     _roomDALProvider          = new RoomDAL();
     _clientDALProvider        = new ClientDAL();
     _bookingDetailDALProvider = new BookingDetailDAL();
 }
コード例 #2
0
        public RoomContainer(
            IRoomContainerDAL containerdAL,
            IRoomDAL roomDAL,
            IRoundDAL roundDAL,
            IUserDAL userDAL,
            IBetDAL betDAL,
            IWheel wheel)
        {
            this._containerDAL = containerdAL;
            this._roomDAL      = roomDAL;
            this._roundDAL     = roundDAL;
            this._userDAL      = userDAL;
            this._betDAL       = betDAL;
            this._wheel        = wheel;

            this.Rooms = this.GetAllRooms();
        }
コード例 #3
0
        public Room(int id,
                    IRoomDAL roomDAL,
                    IRoundDAL roundDAL,
                    IUserDAL userDAL,
                    IBetDAL _betDAL,
                    IWheel wheel)
        {
            this.Id = id;

            this._roomDAL  = roomDAL;
            this._roundDAL = roundDAL;
            this._betDAL   = _betDAL;
            this._userDAL  = userDAL;
            this._wheel    = wheel;

            this.Rounds  = this.GetAllRounds();
            this.Players = this.GetAllUsers();
        }
コード例 #4
0
 public MessagesController(IMessageDAL messageDal, IRoomDAL roomDal)
 {
     this.messageDal = messageDal;
     this.roomDal    = roomDal;
 }
コード例 #5
0
 public RoomBLL(IRoomDAL iRoomDAL, IMapper iMapper, IStatusTImeDAL iStatusTimeDAL)
 {
     _iRoomDAL       = iRoomDAL;
     _iMapper        = iMapper;
     _iStatusTimeDAL = iStatusTimeDAL;
 }
コード例 #6
0
 public InvoiceDALManageFacade()
 {
     _invoiceDALProvider = new InvoiceDAL();
     _bookingDALProvider = new BookingDAL();
     _roomDALProvider    = new RoomDAL();
 }
コード例 #7
0
 public RoomDALManageFacade()
 {
     _roomDALProvider    = new RoomDAL();
     _statustimeProvider = new StatusTimeDAL();
     _statusDALProvider  = new StatusDAL();
 }