Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2008-06-20
2
Medium Priority
?
206 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
cwickens earned 1000 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

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…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

618 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