From 67eafe8ae48910d77619e30fe54133a73d4a3d99 Mon Sep 17 00:00:00 2001 From: Arthur Vickers Date: Sun, 8 Nov 2020 16:37:42 -0800 Subject: [PATCH] New docs for context creation and initialization Draft Fixes #594 Part of #876 Fixes #1390 Fixes #1923 Fixes #2241 Part of #2523 Part of #2549 Part of #1832 Let's discuss where this page should go and what goes underneath it. We had previously decided to keep this in Miscellaneous, but I now believe this would be better as a top-level item with the following subsections to go into more detail: - DbContext lifetime, configuration and initialization - Overview - Connection strings - Using dependency injection - Connection resiliency - Context pooling --- entity-framework/core/dbcontext-configuration/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entity-framework/core/dbcontext-configuration/index.md b/entity-framework/core/dbcontext-configuration/index.md index c78163ef20..a1e9820a41 100644 --- a/entity-framework/core/dbcontext-configuration/index.md +++ b/entity-framework/core/dbcontext-configuration/index.md @@ -280,11 +280,11 @@ The following table contains examples of common methods called on `DbContextOpti | | More detailed query errors (at the expense of performance) | [_Logging, events, and diagnostics_](xref:core/miscellaneous/logging) | | Ignore or throw for warnings and other events | [_Logging, events, and diagnostics_](xref:core/miscellaneous/logging) | | Registers EF Core interceptors | [_Logging, events, and diagnostics_](xref:core/miscellaneous/logging) -| | Use dynamic proxies for lazy-loading | [_Lazy loading_)](xref:core/querying/related-data/lazy) +| | Use dynamic proxies for lazy-loading | [_Lazy loading_)](xref:core/querying/related-data/lazy) | `UseChangeTrackingProxies()` | Use dynamic proxies for change-tracking | Coming soon... > [!NOTE] -> and are extension methods from the [Microsoft.EntityFrameworkCore.Proxies](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.Proxies/) NuGet package. This kind of ".UseSomething()" call is the recommended way to configure and/or use EF Core extensions contained in other packages. +> and `UseChangeTrackingProxies()` are extension methods from the [Microsoft.EntityFrameworkCore.Proxies](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.Proxies/) NuGet package. This kind of ".UseSomething()" call is the recommended way to configure and/or use EF Core extensions contained in other packages. ### `DbContextOptions` verses `DbContextOptions`