Fixed
Details
Details
Assignee
Alex Zaytsev
Alex ZaytsevReporter
David Siew
David SiewComponents
Fix versions
Affects versions
Priority
Who's Looking?
Open Who's Looking?
Created January 5, 2011 at 2:25 AM
Updated September 21, 2014 at 12:40 PM
Resolved May 7, 2014 at 9:30 AM
This code will fail:
var data = (from v in this.GetSession().Query<WorkCellLoadGraphData>()
where v.WorkCellId == "13"
select
new WorkCellLoadGraphData
{
RowId = v.RowId,
WorkCellId = v.WorkCellId,
WorkCellName = v.WorkCellName,
WorkCellGroupId = v.WorkCellGroupId,
WorkCellGroupName = v.WorkCellGroupName
});
return data.Distinct();
However, running this code:
var data = (from v in this.GetSession().Query<WorkCellLoadGraphData>()
where v.WorkCellId == "13"
select v
);
return data.Distinct();
will "work".
The error I get is: "Expression type 10005 is not supported by this SelectClauseVisitor."