© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
2 replies
Saba Jangidze

❔ Hello, Fluent Api

Hi, I have fluent api in my project, I made configuration in another library after I use modelBuilder.ApplyConfiguration() function in DbContext in OnModelCreating function. It works but I dont like this approach because every time when I add new configuration I also add new function in OnModelCreating function, What else I can do ?
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Fluent API Relationship Help
C#CC# / help
3y ago
❔ fluent api naming/design
C#CC# / help
3y ago
postgresql, efcore, fluent api mappings
C#CC# / help
4mo ago
❔ Entity framework core Fluent API
C#CC# / help
3y ago