✅ entity framework return all objects
Hello,
If I use entity framework and I want to get all objects in my repository, what should I do?
1:
2:
Or something else?
4 Replies
2
dbcontext wont update if I use n1?
It won't update in either case, you're not updating anything
But in the first case, the
DbSet
will not be pupulated
If that's what you meantyes
ok thx