Reputation: 53243
What is the main code template used in common with MyGeneration when it comes to creating POCOS from a Db schema?
Basically I want to have classes without any behavior; just properties (collections properly defined based on the associations in Db).
Thanks!
Upvotes: 0
Views: 257
Reputation: 2342
It wouldn't be hard to modify the dOODads entity template to just generate the classes. Out of the box it's already pretty much right, just generating a simple class. There is some custom behaviour but any tweaks required would be pretty minor.
Generating the related collections/objects would be the only significant work required. There are samples in the MyGeneration Template library that demonstrate collecting related objects.
Upvotes: 0