score:0
You should be able to do a projection to an anonimous type.
Then project to your desired type: q.AsEnumerable().Select(...)
Source: stackoverflow.com
Related Articles
- What is the proper way to use linq Group operators to Flatten Query Results
- LINQ to Entities query to flatten results and select and group desired information
- LINQ query returns old results when source list is re-initialized
- LINQ query to group results into an array
- Linq to Entities group query giving list of results in each group
- what does a linq query return when no results are found
- VB Linq Group Join query FAILS to order the results in descending order
- What is the best way to write a two column query in LINQ to Entity 6? And save the results to two different variables?
- Linq Query with Include Doesn't Appear to be Return Proper Results in EF 4.0
- How to Select top (5) contributors group by Business type code in c# linq query
- What SQL query or LINQ code would get the following data?
- Linq query to show grid of results with group by and count
- what LINQ query will return results based on partial matches against arbitrary number of an entity's fields?
- LINQ Sub group results with a single query
- Proper Linq Query for objects with many to many relation ship generated with code first entity framework
- Linq query results in Comparison operators not supported for type 'System.Linq.IQueryable`1[System.Int32]
- Group Linq Query Results in a String
- How to group DataTable results using Linq query expression
- Linq query with group by yields no results
- What does LINQ return when the results are empty
- Linq Query Group By and Selecting First Items
- How To Project a Line Number Into Linq Query Results
- Local sequence cannot be used in LINQ to SQL implementation of query operators except the Contains() operator
- C# LINQ Query - Group By
- LINQ To SQL exception: Local sequence cannot be used in LINQ to SQL implementation of query operators except the Contains operator
- Linq group by query
- LINQ query to perform a projection, skipping or wrapping exceptions where source throws on IEnumerable.GetNext()
- What is the difference between LINQ query expressions and extension methods
- Entity Framework - Linq query with order by and group by
- Linq query to sum by group
- Group by all properties of an object
- parsing expression trees with booleans
- Use a function both directly and as a lambda expression
- beginner to linq to entity sql: How do I write this linq to Entity query
- IQueryable to get sum and order by descending in subset
- OrderBy using WHERE in LINQ
- Linq query to sort collection
- Optimized C# Code. Want to use better technique without nested loops
- How to select records where field is missing from an Azure Storage Table?
- LINQ query returns error "The expected type was 'System.Int32' but the actual value was null."
- Order values in a Gridview in ascending order with Linq
- Non-Generated Property in LINQ to SQL insert behavior
- 2 similar LINQ statements with different syntax yielding different output
- Does Enumerable.Repeat() do a deep copy?
- Calling .Any() on Linq.IQueryable error: "The Linq expression node type 'ArrayIndex' is not supported in LINQ to Entities"
- Where does EF linq skip / take execute?
- How do I implement a dynamic 'where' clause in LINQ?
- Multiple-Entity GroupBy not dishing out Distinct Values - LINQ
- LINQ query help please, for each works?
- Scala collection-like SQL support as in LINQ