7 Replies
repositories on top of ef core does
UserRepository
's constructor look like? i don't think it should be trying to resolve a literal DbContext
but your specfic context typeit doesn't matter
can you show the code though?
where are you registering IUnitOfWorkFactory?
also, fwiw you really shouldn't be using generic repositories/UoW on top of EF core because a dbcontext already is that
DbContext
is the abstraction that was built to REPLACE the generic repository pattern
don't use it that wayWas this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.