I don't expect to get a great response from this, so if you have had experience in this any contribution would be appreciated.
I am trying to use the Visual Studio Report Designer with a Linq to SQL datasource, I have no experience of using the Visual Studio Report Designer.
If I go through the wizard and use an object datasource I can get a simple report listing a single entity type (i.e. sql table) easily enough. My questions is how do I get the report to accept complex Linq queries with Joins, Sums etc. that have an anonymous return type. If I try this at the moment I get a compile time error from the report designer when trying to use the dot notation or aliased names to get to the fields that I need to reference in the results of the query. I think this is because the designer is expecting the same type as was specified in the wizard...
The error is:-
Report item expressions can only refer to fields within the current data set scope or, if inside an aggregate, the specified data set scope.
Maybe I'm better off using DataSets?