Esempio n. 1
0
 public DBLogic()
 {
     users_dao       = new UserDao(connection_string);
     award_dao       = new AwardDao(connection_string);
     user_awards_dao = new UserAwardsDao(connection_string);
     client_dao      = new ClientDao(connection_string);
 }
Esempio n. 2
0
 public UserAwardsLogic(IUserAwardsDao userAwardsDao, IAwardsDao awardsDao, ICacheLogic cacheLogic)
 {
     this.userAwardsDao       = userAwardsDao;
     this.awardsDao           = awardsDao;
     this.cacheLogicUserAward = cacheLogic;
 }
Esempio n. 3
0
 public UserAwardsContracts()
 {
     userawardsdao = new UserAwardsDao();
 }
 public UserAwardsLogic(IUserAwardsDao userAwardsDao, IAwardsDao awardsDao)
 {
     this.userAwardsDao = userAwardsDao;
     this.awardsDao     = awardsDao;
 }