© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
22 replies
Core

.NET EF - How to generate a new database in runtime (dynamically)?

Hello,
I have the following logic, a user can create multiple projects via an API call. For each project I would need to create a new database from a migration, so each project would have different database.

How is this achievable?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

.NET 9 - EF Core + Aspire - Database seeding
C#CC# / help
9mo ago
How succesfully set a Database Relationship in .net?
C#CC# / help
3y ago
Unable to create new Postgres Database with Ef Core
C#CC# / help
12mo ago