Really basic LINQ question but can someone enlighten me as to how it handles data when it's taken from multiple database tables.
For example if you have a Products tables then using the DBML you get a nice Product object which you can query, update, create etc. (Product.Name, Product.Price etc.) All very nice.
However, if I have a LINQ query that joins Product on a bunch of other tables and brings me back the columns from those tables. There's no 1:1 mapping of DB table to object possible so what is it returned as?
Eg. If it was a combo of Product and Customer how would I query, for example, the customer name:
object.customerName ?
Is it returned as a dataset by default?