Dev2.DataList.Contract.Binary_Objects.Structs.SBinaryDataListEntry.GetDistinctRows C# (CSharp) Method

GetDistinctRows() public method

public GetDistinctRows ( List filterCols ) : List
filterCols List
return List
        public List<int> GetDistinctRows(List<string> filterCols)
        {
            var filterColIndexes = new List<int>();
            var tmpThis = this;
            filterCols.ForEach(filterCol => filterColIndexes.Add(tmpThis.InternalFetchColumnIndex(filterCol)));

            // TODO : Hi-jack lookup

            StorageKey sk = new StorageKey(DataListKey, GenerateKeyPrefix(Namespace, DataListKey));

            var distinctBinaryDataListRows = _itemStorage.DistinctGetRows(sk, Keys, filterColIndexes);
            return distinctBinaryDataListRows;
        }