DbSet<T>

A property on a DbContext representing one table's entities, which you query with LINQ and add to or remove from.

In more detail

Each DbSet<T> usually corresponds to one database table. db.Products.Where(p => p.Id == id) builds an IQueryable<T> that EF Core runs as SQL.

Related terms

Taught in

References