Skip to main content

Module db_set

Module db_set 

Source
Expand description

DbSet<T> — typed entity collection for querying and storage.

DbSet<T> holds typed entities + entry_id links to ChangeTracker. Tracking state (EntityState, original snapshot, modified properties, is_upsert) lives in ChangeTracker, joined by entry_id during save. Mutations (add, attach, update, upsert, remove) go through DbContext methods which coordinate DbSet + ChangeTracker.

Structs§

DbSet
DbSetEntry
A single entry in a DbSet — the typed entity + its ChangeTracker id.

Traits§

IDbSet
Collection-level operations on a typed entity collection.