Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET MVC
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 4-Oct-12 3:16am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Comments
Purushottam Prajapati at 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
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

I used the entity framework reverse engineer and it worked.
  Permalink  

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



Advertise | Privacy | Mobile
Web03 | 2.8.141223.1 | Last Updated 5 Oct 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100