Пример #1
0
        public SQLiteProfilesService(string databasePath)
        {
            _connection = new SQLiteConnection(databasePath, false);
            _connection.Open();

            _saveProfileService  = new SQLiteSaveProfileService(_connection);
            _loadProfilesService = new SQLiteLoadProfilesService(_connection);
        }
Пример #2
0
 public SQLiteProfilesService(ISaveProfileService saveProfileService, ILoadProfilesService loadProfilesService)
 {
     _saveProfileService  = saveProfileService;
     _loadProfilesService = loadProfilesService;
 }