Example #1
0
 /// <inheritdoc/>
 public ExtractionInformation[] GetAllExtractionInformation(ExtractionCategory category)
 {
     return
         (CatalogueItems.Select(ci => ci.ExtractionInformation)
          .Where(e => e != null &&
                 (e.ExtractionCategory == category || category == ExtractionCategory.Any))
          .ToArray());
 }
Example #2
0
        private IEnumerable <ColumnInfo> GetColumnInfos()
        {
            if (CatalogueItems.All(ci => ci.IsColumnInfoCached()))
            {
                return(CatalogueItems.Select(ci => ci.ColumnInfo).Where(col => col != null));
            }

            return(Repository.GetAllObjectsInIDList <ColumnInfo>(CatalogueItems.Where(ci => ci.ColumnInfo_ID.HasValue).Select(ci => ci.ColumnInfo_ID.Value).Distinct().ToList()));
        }