I wonder if there is a way to generate object class assembly from a database schema instead of manually create the classes.
1 Answer
You can using the:
- Code Generation in LINQ to SQL.or
- SqlMetal.exe: something like
sqlmetal.exe /server:. /database:projectname /map:outputDB.xml /code:Projectname.Domain.Entities.cs /functions /sprocs /namespace:Projectname.Domain