diff --git a/aspnetcore/blazor/components/quickgrid.md b/aspnetcore/blazor/components/quickgrid.md index c1622005b944..cf6369acda8a 100644 --- a/aspnetcore/blazor/components/quickgrid.md +++ b/aspnetcore/blazor/components/quickgrid.md @@ -5,7 +5,7 @@ author: guardrex description: The QuickGrid component is a Razor component for quickly and efficiently displaying data in tabular form. monikerRange: '>= aspnetcore-8.0' ms.author: wpickett -ms.date: 11/11/2025 +ms.date: 08/10/2026 uid: blazor/components/quickgrid --- # ASP.NET Core Blazor `QuickGrid` component @@ -870,18 +870,11 @@ With the **Add New Scaffold Item** dialog open to **Installed** > **Common** > * Complete the **Add Razor Components using Entity Framework (CRUD)** dialog: - - * The **Template** dropdown list includes other templates for specifically creating create, edit, delete, details, and list components. This dropdown list comes in handy when you only need to create a specific type of component scaffolded to a model class. Leave the **Template** dropdown list set to **CRUD** to scaffold a full set of components. * In the **Model class** dropdown list, select the model class. A folder is created for the generated components from the model name (if the model class is named `Movie`, the folder is automatically named `MoviePages`). * For **DbContext class**, take either of the following approaches: - * Select an existing class that you know has a factory provider registration (). - * Select the **+** (plus sign) button and use the **Add Data Context** modal dialog to supply a new class name, which registers the class with a factory provider instead of using the context type directly as a service registration. + * Select an existing class. + * Select the **+** (plus sign) button and use the **Add Data Context** modal dialog to supply a new class name. The scaffolder registers a new context with a factory provider instead of using the context type directly as a service registration, and it updates an existing `ApplicationDbContext` registration to use a factory provider when needed. * After the model dialog closes, the **Database provider** dropdown list defaults to **SQL Server**. You can select the appropriate provider for the database that you're using. The options include SQL Server, SQLite, PostgreSQL, and Azure Cosmos DB. * Select **Add**. @@ -927,7 +920,7 @@ The following table explains the ASP.NET Core code generator options in the prec Option | Placeholder | Description ------------- | -------------------- | --- `-dbProvider` | `{PROVIDER}` | Database provider to use. Options include `sqlserver` (default), `sqlite`, `cosmos`, `postgres`. -`-dc` | `{DB CONTEXT CLASS}` | The class to use, including the namespace. To make sure that a class is registered in the app's services with a factory provider (), either use an existing class that you know has a factory provider registration or supply a new class. +`-dc` | `{DB CONTEXT CLASS}` | The class to use, including the namespace. `-m` | `{MODEL}` | The name of the model class. `-outDir` | `{PATH}` | The output directory for the generated components. A folder is created from the model name in the output directory to hold the components (if the model class is named `Movie`, the folder is automatically named `MoviePages`). The path is typically either `Components/Pages` for a Blazor Web App or `Pages` for a standalone Blazor WebAssembly app. @@ -976,7 +969,7 @@ The following table explains the ASP.NET Core code generator options in the prec Option | Placeholder | Description ------------- | -------------------- | --- `-dbProvider` | `{PROVIDER}` | Database provider to use. Options include `sqlserver` (default), `sqlite`, `cosmos`, `postgres`. -`-dc` | `{DB CONTEXT CLASS}` | The class to use, including the namespace. To make sure that a class is registered in the app's services with a factory provider (), either use an existing class that you know has a factory provider registration or supply a new class. +`-dc` | `{DB CONTEXT CLASS}` | The class to use, including the namespace. `-m` | `{MODEL}` | The name of the model class. `-outDir` | `{PATH}` | The output directory for the generated components. A folder is created from the model name in the output directory to hold the components (if the model class is named `Movie`, the folder is automatically named `MoviePages`). The path is typically either `Components/Pages` for a Blazor Web App or `Pages` for a standalone Blazor WebAssembly app.