?
Solved

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

Posted on 2008-06-20
2
Medium Priority
?
205 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

764 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