Solved

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

Posted on 2008-06-20
2
191 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

744 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

11 Experts available now in Live!

Get 1:1 Help Now