Welcome Guest ( Log In | Join )

Discover the best free computer help!
Learn more about Geeks to Go by taking the tour. Want to ask a question, reply to a topic, or remove all advertising? It's easy, fast and free. Join today!
Spyware, virus, trojan, fake security or privacy alerts? Please start with our malware cleaning guide.
     
 
Reply to this topicStart new topic
Create Business Entities from MySQL tables in Visual Studio 2005
Diego8
post May 23 2008, 01:04 PM
Post #1


Member
***
Posts: 175
OS: Windows Vista. Ubuntu Hardy 8.10



I'm developing a new Project in VS2005, using c#, which has to connect to a MySQL DB with almost 40 tables.
Now i'm facing the task of creating the business entities. In my case i have an entity for every table in the DB (a field in a table maps to an attribute in an entity).
I was wondering if there's a way in VS 2005 to generate those entities automatically. Having that kind of tool would be great.

Any help is greatly appreciated.
Thanks.

This post has been edited by Diego8: May 23 2008, 01:05 PM
Go to the top of the page
 
+Quote Post
Diego8
post May 26 2008, 08:57 PM
Post #2


Member
***
Posts: 175
OS: Windows Vista. Ubuntu Hardy 8.10



Finally, the sky shone on me. I came across with this great tool called D4Modelizer which does exactly what i was looking for. It maps database tables (from various db engines) to classes in C#, thus creating a VS project with all those classes including getters/setters and default and common constructor.
This saved me a couple hours of coding.. cool.gif

This post has been edited by Diego8: May 26 2008, 08:58 PM
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies / Views Topic Information
No new   17 / 6,095 7th June 2006 - 05:35 AM
Appreciated started - last by prasharry2k5
No New Posts   0 / 432 6th November 2006 - 01:56 PM
officialblueboys started - last by officialblueboys
No New Posts   4 / 470 9th July 2007 - 07:43 PM
Joeturf started - last by Joeturf
No New Posts   0 / 1,219 11th November 2007 - 06:44 AM
tomastyv started - last by tomastyv

RSS Time is now: 9th January 2009 - 06:05 PM
Advertisements do not imply our endorsement of that product or service. The forum is run by volunteers who donate their time and expertise. We make every attempt to ensure that the help and advice posted is accurate and will not cause harm to your computer. However, we do not guarantee that they are accurate and they are to be used at your own risk.