From a2c6a3bf9e9d39605f224d106aa4087b82ca121c Mon Sep 17 00:00:00 2001 From: lajones Date: Tue, 5 May 2020 11:10:23 -0700 Subject: [PATCH] Responding to review comment. --- entity-framework/core/managing-schemas/scaffolding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entity-framework/core/managing-schemas/scaffolding.md b/entity-framework/core/managing-schemas/scaffolding.md index 42ac3911b8..f7e972d1f9 100644 --- a/entity-framework/core/managing-schemas/scaffolding.md +++ b/entity-framework/core/managing-schemas/scaffolding.md @@ -107,7 +107,7 @@ Scaffold-DbContext ... -ContextDir Data -OutputDir Models dotnet ef dbcontext scaffold ... --context-dir Data --output-dir Models ``` - By default, the namespace will be the root namespace plus the names of any subdirectories under the project's root directory. However, in EFCore 5.0, you can override the namespace for all output classes by using `-Namespace` (PMC) or `--namespace` (CLI). You can also override the namespace for just the DbContext class using `-ContextNamespace` (PMC) or `--context-namespace` (CLI). + By default, the namespace will be the root namespace plus the names of any subdirectories under the project's root directory. However, from EFCore 5.0 onwards, you can override the namespace for all output classes by using `-Namespace` (PMC) or `--namespace` (CLI). You can also override the namespace for just the DbContext class using `-ContextNamespace` (PMC) or `--context-namespace` (CLI). ``` powershell Scaffold-DbContext ... -Namespace Your.Namespace -ContextNamespace Your.DbContext.Namespace