Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Create Business Entities from MySQL tables in Visual Studio 2005


  • Please log in to reply

#1
Diego8

Diego8

    Member

  • Member
  • PipPipPip
  • 189 posts
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.

Edited by Diego8, 23 May 2008 - 01:05 PM.

  • 0

Advertisements


#2
Diego8

Diego8

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 189 posts
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.. :)

Edited by Diego8, 26 May 2008 - 08:58 PM.

  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP