Hi,
I have several tables on SQL Server. Is possible that instead of
manually creating all these classes (where each table is represented by
a class and each field on the table is represented by a property in the
class), I can run some wizard which create all these
classes/properties? Any free tool out there?
Thanks
Jon Skeet [C# MVP] - 31 Jul 2005 17:50 GMT
> I have several tables on SQL Server. Is possible that instead of
> manually creating all these classes (where each table is represented by
> a class and each field on the table is represented by a property in the
> class), I can run some wizard which create all these
> classes/properties? Any free tool out there?
You might want to look at NHibernate. I'm using its older brother,
Hibernate, in a Java project and it's saved us *lots* of work. I've
never used NHibernate itself, but it's certainly worth a look.

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Peter Bromberg [C# MVP] - 31 Jul 2005 17:54 GMT
There are many such products, (almost too many!). Some of the best ones
are open source.
Check Sourceforge.net for Gentle.Net, look at CodeSmith, and search
google on "ORM" or "object relational mapper"
Eric Moreau - 31 Jul 2005 18:28 GMT
CodeSmith: http://www.codesmithtools.com/freeware.aspx

Signature
HTH
Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
(http://aspnet2.com/mvp.ashx?EricMoreau)
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)
> Hi,
>
[quoted text clipped - 5 lines]
>
> Thanks