sjh37 / EntityFramework-Reverse-POCO-Code-First-Generator

EntityFramework Reverse POCO Code First Generator - Beautifully generated code that is fully customisable. This generator creates code as if you reverse engineered a database and lovingly created the code by hand. It is free to academics (you need a .edu or a .ac email address), not free for commercial use. Obtain your licence from
https://www.reversepoco.co.uk/
Other
700 stars 230 forks source link

Multicontext using EfCore6 #764

Closed sjh37 closed 1 year ago

sjh37 commented 2 years ago

When generating POCO classes with the multicontext setting the reverse navigation of Entities are not created correctly when using EfCore6 for TemplateType and EfCore for Generator Type. With these settings the correct reverse navigation is only created when all tables are shared between contexts with a shared namespace. This is not an issue using the same multicontext with TemplateType Ef6 and GeneratorTypeEf6. Any help determining why this occurs would be helpful.