Microsoft.FluentUI.AspNetCore.Components.DataGrid.EntityFrameworkAdapter
4.10.3
Prefix Reserved
See the version list below for details.
dotnet add package Microsoft.FluentUI.AspNetCore.Components.DataGrid.EntityFrameworkAdapter --version 4.10.3
NuGet\Install-Package Microsoft.FluentUI.AspNetCore.Components.DataGrid.EntityFrameworkAdapter -Version 4.10.3
<PackageReference Include="Microsoft.FluentUI.AspNetCore.Components.DataGrid.EntityFrameworkAdapter" Version="4.10.3" />
paket add Microsoft.FluentUI.AspNetCore.Components.DataGrid.EntityFrameworkAdapter --version 4.10.3
#r "nuget: Microsoft.FluentUI.AspNetCore.Components.DataGrid.EntityFrameworkAdapter, 4.10.3"
// Install Microsoft.FluentUI.AspNetCore.Components.DataGrid.EntityFrameworkAdapter as a Cake Addin #addin nuget:?package=Microsoft.FluentUI.AspNetCore.Components.DataGrid.EntityFrameworkAdapter&version=4.10.3 // Install Microsoft.FluentUI.AspNetCore.Components.DataGrid.EntityFrameworkAdapter as a Cake Tool #tool nuget:?package=Microsoft.FluentUI.AspNetCore.Components.DataGrid.EntityFrameworkAdapter&version=4.10.3
About
Use this package if the data you want to display in the FluentDataGrid
(component in the Microsoft.FluentUI.AspNetCore.Components library
) comes from EF Core:
- ... with Blazor Server and any EF Core-supported database
- ... with Blazor WebAssembly and EF Core's Sqlite support
EF Core's DataContext gives you a DbSet property for each table in your database. Simply supply this as the grid's RowsData parameter:
@inject ApplicationDbContext MyDbContext
<FluentDataGrid RowsData="@MyDbContext.People">
...
</FluentDataGrid>
You may also use any EF-supported LINQ operator to filter the data before passing it:
@inject ApplicationDbContext MyDbContext
<FluentDataGrid RowsData="@MyDbContext.Documents.Where(d => d.CategoryId == currentCategoryId)">
...
</FluentDataGrid>
The FluentDataGrid
recognizes EF-supplied IQueryable
instances and knows how to resolve queries asynchronously for efficiency.
Installation
Install the package by running the command:
dotnet add package Microsoft.FluentUI.AspNetCore.Components.DataGrid.EntityFrameworkAdapter
Usage
In your Program.cs file you need to add the following:
builder.Services.AddDataGridEntityFrameworkAdapter();
Support
The Microsoft Fluent UI Blazor library is an open source project and is not an official part of ASP.NET Core, which means it�s not officially supported and isn�t committed to ship updates as part of any official .NET updates. It is built and maintained by Microsoft employees (and other contributors) and offers support, like most other open source projects, on a best effort base through the GitHub repository only.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. |
-
net8.0
- Microsoft.EntityFrameworkCore (>= 8.0.10)
- Microsoft.FluentUI.AspNetCore.Components (>= 4.10.3)
-
net9.0
- Microsoft.EntityFrameworkCore (>= 9.0.0-rc.2.24474.1)
- Microsoft.FluentUI.AspNetCore.Components (>= 4.10.3)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Microsoft.FluentUI.AspNetCore.Components.DataGrid.EntityFrameworkAdapter:
Package | Downloads |
---|---|
Hexalith.UI.Components
Hexalith is a set of libraries to build a micro-service architecture. |
|
Corsinvest.AppHero.Core.FluentUI
Package Description |
|
mdimai666.Blast.AppFront.Main
Shared project using Blast client apps with UI framework |
|
Kimi.FluentUiExtension
Microsoft .net8 blazor fluentUi extensions |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
4.11.0 | 552 | 12/19/2024 |
4.11.0-beta.1 | 153 | 12/5/2024 |
4.10.4 | 7,266 | 11/13/2024 |
4.10.3 | 4,115 | 10/28/2024 |
4.10.2 | 6,607 | 10/9/2024 |
4.10.1 | 3,452 | 9/26/2024 |
4.10.0 | 5,265 | 9/6/2024 |
4.9.3 | 16,096 | 7/23/2024 |
4.9.2 | 690 | 7/19/2024 |
4.9.1 | 2,160 | 7/10/2024 |
4.9.0 | 869 | 7/4/2024 |
4.8.0 | 2,848 | 6/17/2024 |
4.7.2 | 6,444 | 5/3/2024 |
4.7.0 | 1,928 | 4/23/2024 |
4.6.1 | 2,179 | 4/10/2024 |
4.6.0 | 1,126 | 3/28/2024 |
4.5.0 | 4,577 | 3/7/2024 |
4.4.0 | 3,469 | 2/2/2024 |
4.3.1 | 2,245 | 1/12/2024 |
4.3.0 | 445 | 1/8/2024 |
4.2.1 | 1,595 | 12/20/2023 |
4.2.0 | 1,363 | 12/13/2023 |
4.1.0 | 810 | 11/28/2023 |
4.0.0 | 843 | 11/14/2023 |
4.0.0-rc.3 | 97 | 11/10/2023 |
4.0.0-rc.2 | 93 | 11/6/2023 |
4.0.0-rc.1 | 102 | 11/2/2023 |
4.0.0-preview.1 | 81 | 10/23/2023 |