I initially had a DbContext
with all DbSets
of my entities. However, I needed to create a DbContext<T>
that has a generic DbSet
for methods that are properly generic. It turns out that the two DbContext point to the same connectionstring. Can the existence of both in a project be considered bad practice? If yes, what would be the most feasible way to perform generic operations with a non-generic database context
?