Apologies in advance i already posted somewhere...
We intend to host a large number of sites using dynamic data. there will be time when we simply re-gen the model to re-align db schema changes.
if we want to write c# code that does some complex logic/process, i don't really want to put this logic in the templates as views - (sure simple data validation is ok).
- option 1: write partial classes that extend the EF Entities generated in VS2010.
- option 2: somehow use the MVC pattern (not sure how this would work in DD world) and have the controller do the smarts.
- option 3: some sort of Ioc dependenciy injection on the partial entity classes generated.
Look forward to hearing your 2 c$ worth as i know this is not an exact science...
View Complete Post