public FSARMAActions(IDatabaseConnectivity _db, DatabaseModel _dbModel) { this.db = _db; this.dbModel = _dbModel; connectionString = db.GetConnectionString(dbModel.DataSource = settings["DBSettings:DataSource"], dbModel.Authentication = settings["DBSettings:Authentication"], dbModel.InitialCatalog = settings["DBSettings:InitialCatalog"], dbModel.UserId = settings["DBSettings:UserID"], dbModel.Password = settings["DBSettings:Password"]); connection = db.GetSqlConnection(connectionString); }