Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
So I have a question related to linqtosql and how I can use the table. WHat happen is I like the drag and drop approach, but the database that I have contain more than 500 tables, then how am I going to drag them all in the designer to get access to table, or is there a way to connect to the database and get all the table in at once?
Posted

1 solution

Instead of "Linq to sql classes" choose "Ado.net Entity DataModel" template and choose "generate from database" and you can do it as you want.
 
Share this answer
 
Comments
RozenKristal 7-Aug-14 10:45am    
My boss want me to use linq2sql, so I have to stick with it. Is there another way?
Pravuprasad 11-Aug-14 2:18am    
No,There is none for linq to sql classes. But if you try the other one you can do all stuffs as you want.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900