How is the best way to wrap MySql tables in classes in Visual Studio 2008
Posted on 2008-06-20
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";
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?