Exemple #1
0
        public SQLProfilesService(string connectionString)
        {
            _connection = new SqlConnection(connectionString);

            _connection.Open();

            _saveProfileService  = new SQLSaveProfileService(_connection);
            _loadProfilesService = new SQLLoadProfilesService(_connection);
        }
Exemple #2
0
 public SQLProfilesService(ISaveProfileService saveProfileService, ILoadProfilesService loadProfilesService)
 {
     _saveProfileService  = saveProfileService;
     _loadProfilesService = loadProfilesService;
 }