Skip to content

Commit f65040d

Browse files
erjaintjain-msIEvangelist
authored
fixes #31985 (#32156)
* fixes #31985 * Update docs/architecture/modern-web-apps-azure/work-with-data-in-asp-net-core-apps.md Co-authored-by: David Pine <david.pine@microsoft.com> Co-authored-by: Tarun Jain <v-tjain@microsoft.com> Co-authored-by: David Pine <david.pine@microsoft.com>
1 parent a7f8996 commit f65040d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/architecture/modern-web-apps-azure/work-with-data-in-asp-net-core-apps.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ await _context.SaveChangesAsync();
111111

112112
EF Core supports both synchronous and async methods for fetching and saving. In web applications, it's recommended to use the async/await pattern with the async methods, so that web server threads are not blocked while waiting for data access operations to complete.
113113

114+
For more information, see [Buffering and Streaming](/ef/core/performance/efficient-querying#buffering-and-streaming).
115+
114116
### Fetching related data
115117

116118
When EF Core retrieves entities, it populates all of the properties that are stored directly with that entity in the database. Navigation properties, such as lists of related entities, are not populated and may have their value set to null. This process ensures EF Core is not fetching more data than is needed, which is especially important for web applications, which must quickly process requests and return responses in an efficient manner. To include relationships with an entity using _eager loading_, you specify the property using the Include extension method on the query, as shown:

0 commit comments

Comments
 (0)