'How to use Entity Framework Core in XAF

Is it possible to use Entity Framework Core 1 (formerly Entity Framework 7) in XAF (eXpress Application Framework)?



Solution 1:[1]

In v20.1, we have published GitHub examples illustrating how to access data protected by the DevExpress XAF Security System with Entity Framework Core 3 in non-XAF apps (they use the new EFCoreObjectSpaceProvider and SecuredEFCoreObjectSpaceProvider API).

For more information, please review Frequently Asked Questions and this feature and architecture overview.

Solution 2:[2]

I managed to do the migration by creating a new .net core5 project from the wizard and then moving my classes into the new project. Unfortunately The .Net5 security tables are different to those that the framework project uses so I wont be able to do a staged roll out.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dennis Garavsky
Solution 2 Kirsten