public override IList TransformList(IList list) { var distinct = new DistinctIdentiesDic(); foreach (var dtoInList in list) { var identity = (Identity)dtoInList; distinct.Add(identity.Id, identity); } return(distinct.ConvertToListWithTuples()); }
public DistinctRootColumnResultTransformerPaged(int startIndex, int elementsNumber) : base() { _starIndex = startIndex; _elementsNumber = elementsNumber; distinct = new DistinctIdentiesDic(_starIndex, _elementsNumber); }