Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I needed the model class (.cs) file of all the table present in the adventure work database. Is there any link from where i can download that cs file.


thanks in advance.
Posted

Use SQLMetal tool....it's freely available in http://msdn.microsoft.com/en-us/library/bb386987.aspx[^]

If you think this solves your question, please mark it solved.
 
Share this answer
 
Comments
Purushottam Prajapati 5-Oct-12 0:53am    
i tried accordingly , firstly it shows error
warning DBML1008
and also i think it will create .cs file of whole database in one but i want .cs file of each table
I used the entity framework reverse engineer and it worked.
 
Share this answer
 

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