• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 213
  • Last Modified:

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

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
Dein
Asked:
Dein
1 Solution
 
cwickensCommented:
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
 
DeinAuthor Commented:
Thankyou
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now