Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / July 2005

Tip: Looking for answers? Try searching our database.

SQL tables/fields to classes/properties

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sehboo - 31 Jul 2005 17:06 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.