EF Core
If I wrap EF in repo pattern, then update the repo's in memory object (update property), can I just call SaveChanges to update it?
3 Replies
if it's a tracked object yes, but you shouldn't keep that alive for long
Don't
you shouldn't wrap EF in a repo pattern at all
DbSet<T> is a generic repository already