internal override object Read(IDataReader dataReader) { StormDataSet sr = new StormDataSet(this.rootEntity); sr.ReadData(dataReader, this.selectFields); return(sr); }
internal override object Read(IDataReader dataReader) { StormDataSet sr = new StormDataSet(this.rootEntity); var metadata = this.requests .SelectMany(r => { return(r.Entity.entityFields .Select(f => { return new SelectNode() { FromNode = r, EntityField = f, FullPath = new FieldPath(r.FullPath.Root, r.FullPath.Path, f.CodeName), }; })); }); sr.ReadData(dataReader, metadata); return(GetCommandHelpers.ToResults(sr, this.navigator, requests, from)); }