Entity and Configuration in same <table>.cs file
mrmyroll2 opened this issue · 1 comments
mrmyroll2 commented
Can we make the table's Configuration file in the same table.cs file of the table.
I know we can put it in the same folder by changing the PocoConfigurationFolder value,
but I prefer if we can put it in the same table.cs which is better to read the generated table models and configuration.
sjh37 commented
Normally you want to keep them separate because the entities are your domain objects with no entity framework dependency. The configuration can be kept in a separate assembly with the entity framework dependency. This request is more complex because of the separate {{mustache}}
template files used to generate the files.