https://github.com/arnab-developer/multipledbef
Multiple DB with EF
https://github.com/arnab-developer/multipledbef
ef
Last synced: 3 months ago
JSON representation
Multiple DB with EF
- Host: GitHub
- URL: https://github.com/arnab-developer/multipledbef
- Owner: Arnab-Developer
- License: mit
- Created: 2021-12-08T09:58:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-21T03:39:38.000Z (over 3 years ago)
- Last Synced: 2025-01-17T02:24:16.745Z (5 months ago)
- Topics: ef
- Language: C#
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Multiple DB with EF
This is a demo to show how we can work with two different databases from a single application
with Entity Framework. I also use Entity Framework migration to generate and update the databases.
This demo also shows how we can store Entity Framework `DbContext` classes and migrations into a
separate class library and refer that in an ASP.NET application.Find the database creation scripts in [CreateDbs.sql](https://github.com/Arnab-Developer/MultipleDbEf/blob/main/CreateDbs.sql).
Also the find the migration commands which I used in [MigrationCommands.md](https://github.com/Arnab-Developer/MultipleDbEf/blob/main/MigrationCommands.md).