What is the EntityState of an entity that has been created through code but has not yet been added to a DbSet<T>?
Detached
What method (when called) corresponds with ChangeTracker reporting all of the added entities and EF Core creating the appropriate SQL statements?
SaveChanges()
What is the EntityState of an entity after SaveChanges() executes?
Unchanged
What is the method of a DbSet<T> property that adds a single record?
Add()
What adding an object graph by adding child records into the parent's collection navigation property, does EF Core automatically retrieve the parent record's primary key identifier to include in the Insert statement for the foreign key id of the child record?
Yes
What is the method of a DbSet<T> property that adds multiple records?
AddRange()
What method can be called on most LINQ queries being used in EF Core to examine the query that gets executed?
ToQueryString()
What method is used to filter records from a DbSet<T>?
Where()
When you add child records to the database by putting them in the collection navigation property of their parent (EF) what is a cool term for what you are adding to the database?
An object graph
What method can you call on most LINQ queries to examine the actual query that gets executed against the database (new in EF Core 5)?
ToQueryString()
What method is used to filter records from a DbSet<T> in EF Core?
Where()
What term refers to loading related records from multiple tables in one database call?
Eager loading
Which of the two methods that provide paging capabilities in EF Core skips the specified number of records?
Skip()
Which of the two methods that provide paging capabilities in EF Core retrieves the specified number of records?
Take()
Previous card
First card
Random order
Next card