SQL tables/fields to classes/properties

  • Thread starter Thread starter Sehboo
  • Start date Start date
S

Sehboo

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
 
Sehboo said:
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.
 
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"
 
Back
Top