Closed vassiliospallis closed 1 year ago
Xaf supports multiple ORM, so u can install modules on EF on XPO etc
Thanks a lot for your rapid answer. My XAF project targets EF Core, I followed the instructions to install JobScheduler.Hangfire and when application started it gives an exception at startup.cs mentioning that it cannot find some XPO assemblies (which is logical because an EF Core ORM based XAF solution doesn't include XPO libraries). Thanks for your answer again.
yo can try something like
XAF_how-to-connect-different-data-models-to-several-databases-within-a-single-application
Thanks again but I don't have this requirement (to connect to several databases). Anyway I will search a little more to troubleshoot the issue, a big thanks for your rapid answers.
u can use the same database/connectionstring then but two different datastores I posted the link to give the idea
one ObjectSpaceProvider use EF and the other XPO to the same db
OK now I got you! So XPO is needed indeed for the module to work and to co-exist with EF Core I have to use a workaround (2 ORMs to the same db). A big thanks again for your elaboration. Farewell.
the module comes with its own Bussiness Objects that use XPO. You let it work by connecting an ObjectSpaceProvider for these types, check DX for more samples on this
OK now is clear. Thanks again!
Hello, Is JobScheduler.Hangfire module supports EF Core 7.0? Because I tried to install it and when started solution it seeks for the XPO libraries and gives an exception. Thanks a lot!