Auto Generate Gets and Sets from a Database
-
03-07-2019 - |
Question
I am coming from VB6 and I am starting to convert an existing VB6 code to VB.Net. What tools can I use to automate this task?
Solution
If you're looking for a complete code generator for your data access layer and entities LLBLGen is a good tool. If you only looking for a tool that simply generates entity classes Wilson OR Mapper is my favorite.
Also CodeSmith and .net Tiers Templates are very powerful.
OTHER TIPS
I would probably look into using an OR/M like nHibernate, LINQ to SQL, Entity Framework, Subsonic etc. It'll give you a lot lot more, but it's probably better than to autogenerate CRUD operations.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow