API-Specific queries
You know that Entity SQL is only available when you use the ObjectContext
API, but each of the two Entity Framework APIs has some unique querying functionality that we haven’t yet explored. Let’s start with a property and a method of the DbContext
API (specifically, the DbSet<T>
class) that make controlling trips to the database simpler.
Get Fluent Entity Framework now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.