Tutorial :Linq entities created at runtime from user-defined view



Question:

I would like to use linq2sql in this scenario :

I have a user-defined view in my database whose fields are not known during the design phase.

How can I create a specific entity, during runtime, to use a gridview to show all the view's fields ?


Solution:1

Look into System.Linq.Expressions for this


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »