How can I supply a table name at runtime using LINQ to SQL?

Posted by AndreMiranda on Stack Overflow See other posts from Stack Overflow or by AndreMiranda
Published on 2009-05-11T15:07:37Z Indexed on 2010/04/14 21:03 UTC
Read the original article Hit count: 257

Filed under:
|

I have to use LINQ to SQL and along with it a pure SQL classic query. And this SQL query has the Table from where my data will be generated, but I will not know this Table previously. It will be known in compile time.

So how can I make LINQ understand from what Table I want to make the query?

© Stack Overflow or respective owner

Related posts about linq-to-sql

Related posts about dynamic-linq