How to connect different data models to several databases within a single application with Entity Framework Core

This example demonstrates how to create custom XAF modules with custom business objects and logic that work with separate databases. These modules do not depend on each other and thus can be reused in other applications independently.

This EFCore example solution is based on the following tutorial: How to: Use Multiple Data Models Connected to Different Databases in Entity Framework Core.

Note For information on how to achieve the same functionality with XPO on .NET 6+ and .NET Framework, see the Readme.md files in the respective solution folders:

.NET 6+

.NET Framework

Files to Review

Modules:

Blazor application:

WinForms application:

Documentation