Solved

How is the best way to wrap MySql tables in classes in Visual Studio 2008

Posted on 2008-06-20
2
197 Views
Last Modified: 2013-11-26
I need to wrap MySql tables and fields in classes, so I easyly can do creates, deletes updates etc. without concerning fieldtypes, tablenames etc.
To create a new row in a table 'Customer' I just wan't to something similar to:

Customer myCustomer = new Customer;
myCustomer.Name = "Customer name";
myCustomer.Create();

There is a tecnical term for this, what is it called?
How do I autogenerate and refresh such classes based on actual tables in MySql by using Visual Studio 2008?


0
Comment
Question by:Dein
2 Comments
 
LVL 5

Accepted Solution

by:
cwickens earned 250 total points
ID: 21832827
I haven't done it personally but you can try this:
http://code2code.net/DB_Linq/

or this:
http://forums.asp.net/p/1150723/2235729.aspx
0
 

Author Closing Comment

by:Dein
ID: 31469072
Thankyou
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linq Help 1 35
Getting multiple values from a dataset ASP.NET(VB) 3 37
asp.net mvc input file 2 32
Export import database 4 41
Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now