Open nealculiner opened 2 years ago
Hi, @nealculiner I Hope you are doing well!! Did you get a chance to fix this and if so, could you please share the approach? I am stuck with some like your case. Below is the link to the issue that I created and am still looking for a working solution to this. Let me know if you need any additional input from my end. Thanks, in advance, appreciate your help.
https://github.com/sjh37/EntityFramework-Reverse-POCO-Code-First-Generator/issues/800
Now with the ability in 3.6.0 to use separate sub-folders I don't need to use separate .tt files such as one for PocoObjects. I can generate all elements needed specified in one .tt file using different outputs, however, the namespaces are not being applied because I'm generating all elements in one file. It looks like a legacy block on namespace use when using one .tt file now per this comment:
NOTE: These are only used if ElementsToGenerate is not set to generate all the elements.
I want my PocoObjects to go to the "Entities" folder AND use a different namespace. But that's not working.
One feature request. The ONLY element I want to be in a separate file are the Entities. I want Interfaces, Configuration, etc. still to reside in one file. It's all or nothing, i.e. all separate or all in one unless I break out .tt files. Please consider taking this one step further in allowing me to specify which is broken out into a separate location or in the parent file.