Пример #1
0
 private List<IndicatorDropdownValue> GetValues(IndicatorEntityType indType, int indId)
 {
     RepositoryBase repo = new RepositoryBase();
     OleDbConnection connection = new OleDbConnection(DatabaseData.Instance.AccessConnectionString);
     using (connection)
     {
         connection.Open();
         OleDbCommand command = new OleDbCommand();
         return repo.GetIndicatorDropdownValues(connection, command, indType, new List<string> { indId.ToString() });
     }
 }