Beispiel #1
0
 public BaseCRUDRepository(ISQLiteConnectionDependency sqliteConnection) : base(sqliteConnection)
 {
     _createRepository = new BaseCreateRepository <T>(sqliteConnection);
     _readRepository   = new BaseReadRepository <T>(sqliteConnection);
     _updateRepository = new BaseUpdateRepository <T>(sqliteConnection);
     _deleteRepository = new BaseDeleteRepository <T>(sqliteConnection);
 }
Beispiel #2
0
        public IOCLocator(ISQLiteConnectionDependency sqliiteConnectionDependency, IMapperDependency mapperDependency,
                          INetworkDependency networkDependency, IUserPreferences userPreferences,
                          ICUCService cucService, ILoginService logService, IValidBonusService validBonusService,
                          IBonusDataRepository bonusDataRepository, ITokenDataRepository tokenDataRepository,
                          IUserDataRepository userDataRepository, IWSLoginRepository wsLoginRepository,
                          IWSValidBonoRepository wsValidBonoRepository)
        {
            SQLiteConnectionDependency = sqliiteConnectionDependency;
            MapperDependency           = mapperDependency;
            NetworkDependency          = networkDependency;
            UserPreferences            = userPreferences;


            CUCService        = cucService;
            LogService        = logService;
            ValidBonusService = validBonusService;


            BonusDataRepository = bonusDataRepository;
            TokenDataRepository = tokenDataRepository;
            UserDataRepository  = userDataRepository;


            WSLoginRepository     = wsLoginRepository;
            WSValidBonoRepository = wsValidBonoRepository;
        }
Beispiel #3
0
 public BaseDeleteRepository(ISQLiteConnectionDependency sqliteConnection) : base(sqliteConnection)
 {
     DataContext.CreateTable <T> ();
 }
Beispiel #4
0
 public TokenDataRepository(ISQLiteConnectionDependency sqliteConnection) : base(sqliteConnection)
 {
 }
Beispiel #5
0
 public BaseDataRepository(ISQLiteConnectionDependency sqliteConnection)
 {
     this.DataContext = sqliteConnection.GetConnection();
 }