Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@NoToJavaScript Done.
No code was harmed. Actually I added comments to reach the needed number of lines. -
cygnus11071y@NoToJavaScript Why not just use different entity configuration classes rather than dumping everything in OnModelCreating?
-
@cygnus If it was a new project, I would agree with you
But it's an exisiting context and no one has time or motivation to refactor it. (Me included)
Related Rants
How long is the "longest" EF core context you've seen ?
Without any additional methods.
Just DbSets and OnModelCreating.
Mine is 1338 code lines right now
question
c#
efcore