Automatically create business objects from sql database?
I was thinking of writing an application that would generate the co开发者_开发技巧de for business objects directly from a sql database. It seems like something that would already have been done but maybe I just don't know what to Google for.
Does anyone know if something like this exists?
You are correct, there are many tools that do this. Most fall into the realm of an ORM.
http://en.wikipedia.org/wiki/List_of_object-relational_mapping_software#.NET
Why don't you use Entity Framework? They have done an excellent job with object-database mapping
精彩评论