Skip to content

Commit 040eba9

Browse files
Provide Microsoft.AspNetCore.Components.QuickGrid.EntityFrameworkAdapter package README (#57794)
1 parent 3b4e92a commit 040eba9

File tree

1 file changed

+29
-0
lines changed
  • src/Components/QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.EntityFrameworkAdapter/src

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
## About
2+
3+
`Microsoft.AspNetCore.Components.QuickGrid.EntityFrameworkAdapter` provides an Entity Framework Core (EF Core) adapter for the [`Microsoft.AspNetCore.Components.QuickGrid`](https://www.nuget.org/packages/Microsoft.AspNetCore.Components.QuickGrid) package.
4+
5+
## How to Use
6+
7+
To use `Microsoft.AspNetCore.Components.QuickGrid.EntityFrameworkAdapter`, follow these steps:
8+
9+
### Installation
10+
11+
```shell
12+
dotnet add package Microsoft.AspNetCore.Components.QuickGrid.EntityFrameworkAdapter
13+
```
14+
15+
### Configuration
16+
17+
To register an EF-aware `IAsyncQueryExecutor` implementation, call `AddQuickGridEntityFrameworkAdapter` on the service collection in `Program.cs`:
18+
19+
```csharp
20+
builder.Services.AddQuickGridEntityFrameworkAdapter();
21+
```
22+
23+
## Additional Documentation
24+
25+
For additional documentation and examples, refer to the [official documentation](https://learn.microsoft.com/aspnet/core/blazor/components/quickgrid#entity-framework-core-ef-core-data-source) on using EF Core with `QuickGrid`.
26+
27+
## Feedback & Contributing
28+
29+
`Microsoft.AspNetCore.Components.QuickGrid.EntityFrameworkAdapter` is released as open-source under the [MIT license](https://licenses.nuget.org/MIT). Bug reports and contributions are welcome at [the GitHub repository](https://github.com/dotnet/aspnetcore).

0 commit comments

Comments
 (0)