score:2
Its an IEnumberable<selected data type> - the selected data type could be an anonymous type, or in this case, will be your dataset type class.
score:0
In your first example... mouse-over the word "var" in Visual studio, and it will display the "Type".
If it's something like 'anonymouse{blahblah}'... then you'll likely have to create a class that you want to convert it to so that you can use it as a function parameter.
score:1
I would guess something like IEnumerable<Product>
. And as ck says, Product is the name of your LINQ data class.
Source: stackoverflow.com
Related Query
- What is the underlying type of the result from a Linq to Entities query?
- What is the return type of my linq query?
- What is the return type for a anonymous linq query select? What is the best way to send this data back?
- How I can pass the LINQ result anonymous type to another method?
- LINQ Select - CS0411 The type arguments cannot be inferred from the usage - What am I doing wrong?
- code first approach error: the specified type member 'yyyxx' is not supported in linq to entities
- Can I use a LINQ IEnumerable result as the data source for a Gtk.TreeView?
- LINQ entity data model generated code error - The type 'DBContexts.Category' already contains a definition for 'ID'
- LINQ - get results where a certain property is in this other result set of the property's type
- What SQL query or LINQ code would get the following data?
- what is output type of method when returns result of linq query?
- how to return the query result as a specific object type in LINQ
- c# can I type the code I want to execute in LINQ expressions
- If result of the LINQ has an interface type it means it has a deferred execution
- How does it works the transfer of a LINQ result to memory? What about chained LINQ queries?
- what is the LINQ statement to parse a byte array property of a list and copy the result in another list?
- What is the event handler equivilent to the LINQ code used here
- Can I assign the result of a Linq query to the source variable of the same query?
- What type of optimizations does LINQ perform at the compiler level?
- What would be the Linq code for this grouping using VB.NET 2008?
- What is the difference when converting the Linq result to ToList() and when not converting it toList
- How to assign the same var type variable to different linq to sql result sets?
- Entity Framework Code First - The entity or complex type cannot be constructed in a LINQ to Entities query
- What should be the return type when writing Linq query for selecting specific columns?
- What does LINQ return when the results are empty
- Code equivalent to the 'let' keyword in chained LINQ extension method calls
- The specified type member 'Date' is not supported in LINQ to Entities. Only initializers, entity members, and entity navigation properties
- What is the difference between LINQ ToDictionary and ToLookup
- What guarantees are there on the run-time complexity (Big-O) of LINQ methods?
- How can I filter a dictionary using LINQ and return it to a dictionary from the same type
More Query from same tag
- Create LINQ in table that has many2many relation
- Unique object counts are showing system text
- ASP.NET LINQ to XML how to reach an node/element just giving the name?
- NOT IN Condition in Linq
- Getting error "The parameter was not bound in the specified LINQ to Entities query expression."
- Difference between LINQ Lambda and SQL statement
- How to filter list with linq for sub list?
- GroupJoin by date where date in second list between two dates from first
- FirstOrDefault Behavior with Int and Int?
- Linq Expression to Turn DataTable to Dictionary of <Key, List<Values>>
- Linq and Repository pattern -- not getting how to apply Join method
- Can't cast 'Newtonsoft.Json.Linq.JObject' to actual type
- Use predicateBuilder with .Where method
- Check if DB already have a DateTime equals to the one passed in the form
- SQL Query to Linq GroupBy and Max
- How to use LINQ-to-Entity to query by contained objects
- Left Outer Join Two Data Tables?
- How can I get selected column into a Dictionary?
- Recursive linq and this?
- Getting error in LINQ Expression or converting service to client simple mapping
- Acces to parent's attribute from descendant
- Unable to create a constant value of type 'System.Char'
- How to compare two lists based on indexes
- Counting while mapping to an object in a linq subquery
- Efficent way of retrieveing HttpWebResponse and putting it in XDocument
- Generated DBML code incorrectly marks returned columns as NOT NULL for stored procedures
- LINQ - Select * from XML elements with a certain tag
- Linq to NHibernate and Dynamic LINQ - query caching not working
- Counting With C# Using Linq Or NOT
- Why isn't this LINQ Group By aggregating the rows in vb.net?