Hi Daelmo,
I've looked at the links you supplied. Mapping the view on an entity IMHO gives cleaner way to achieve what I want. Is there any reason I should not use entity classes / collections?
Or perhaps forget the view and try to use the query factory?
I would like to create the following query:
select Code, [Description], Count(*) As Nmbr from MyView where DateTimeCreated between '20140101' and '20141231' and Code > 0 group by Code, [Description] order by Code
The DateTime is a variable that depends on user input.
Best regards,
Jan