.NET & C# · Entity Framework Core
What is DbContext and DbSet in Entity Framework Core?
DbContext represents a unit of work with the database, while DbSet exposes a queryable collection for an entity type.
DbContext represents a unit of work with the database, while DbSet exposes a queryable collection for an entity type.