Is there a software to generate C# objects from SQL tables?
-
1Have you looked at Entity Framework?Sparky– Sparky2011-09-04 14:03:52 +00:00Commented Sep 4, 2011 at 14:03
-
1The last time I saw this asked I suggested Codesmith. stackoverflow.com/questions/5897559/…immutabl– immutabl2011-09-04 14:06:49 +00:00Commented Sep 4, 2011 at 14:06
-
The question is broad. There are lots of ORM frameworks available now, try adding more details: where it will be used, what additional functionality is required, how large is the application etc.oleksii– oleksii2011-09-04 16:28:40 +00:00Commented Sep 4, 2011 at 16:28
-
The various frameworks are all valid, but you need to identify more details about exactly what you need ot get the right one for you.Schroedingers Cat– Schroedingers Cat2011-09-04 16:29:23 +00:00Commented Sep 4, 2011 at 16:29
Add a comment
|
4 Answers
See a list of available frameworks. I would add that NHibernate have generated lots of good community feedback.
Also take a look at Castle Active Record.
Comments
I'm the creator of SqlSharpener which is a light-weight tool that will parse your *.sql files (like in an SSDT project) and create DTO objects and stored procedure wrappers. It is faster than any ORM out there because it generates code via T4 templates to output pure ADO.NET code at design-time, so it's crazy fast.