Microsoft.Fast.Components.FluentUI.DataGrid.EntityFrameworkAdapter
3.8.0
Prefix Reserved
dotnet add package Microsoft.Fast.Components.FluentUI.DataGrid.EntityFrameworkAdapter --version 3.8.0
NuGet\Install-Package Microsoft.Fast.Components.FluentUI.DataGrid.EntityFrameworkAdapter -Version 3.8.0
<PackageReference Include="Microsoft.Fast.Components.FluentUI.DataGrid.EntityFrameworkAdapter" Version="3.8.0" />
paket add Microsoft.Fast.Components.FluentUI.DataGrid.EntityFrameworkAdapter --version 3.8.0
#r "nuget: Microsoft.Fast.Components.FluentUI.DataGrid.EntityFrameworkAdapter, 3.8.0"
// Install Microsoft.Fast.Components.FluentUI.DataGrid.EntityFrameworkAdapter as a Cake Addin #addin nuget:?package=Microsoft.Fast.Components.FluentUI.DataGrid.EntityFrameworkAdapter&version=3.8.0 // Install Microsoft.Fast.Components.FluentUI.DataGrid.EntityFrameworkAdapter as a Cake Tool #tool nuget:?package=Microsoft.Fast.Components.FluentUI.DataGrid.EntityFrameworkAdapter&version=3.8.0
About
Use this package if the data you want to display in the FluentDataGrid
(component in the Microsoft,Fast.Components.FluentUI 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.Fast.Components.FluentUI.DataGrid.EntityFrameworkAdapter
Usage
In your Program.cs file you need to add the following:
builder.Services.AddDataGridEntityFrameworkAdapter();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
-
net6.0
- Microsoft.EntityFrameworkCore (>= 6.0.36)
- Microsoft.Fast.Components.FluentUI (>= 3.8.0)
-
net7.0
- Microsoft.EntityFrameworkCore (>= 7.0.20)
- Microsoft.Fast.Components.FluentUI (>= 3.8.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.8.0 | 36 | 11/13/2024 |
3.7.5 | 437 | 6/27/2024 |
3.7.2 | 142 | 6/13/2024 |
3.7.1 | 173 | 5/19/2024 |
3.7.1-preview.24138.3 | 70 | 5/17/2024 |
3.7.0 | 356 | 4/30/2024 |
3.6.2 | 165 | 4/23/2024 |
3.6.1 | 223 | 4/11/2024 |
3.6.0 | 226 | 3/7/2024 |
3.5.4 | 320 | 1/31/2024 |
3.5.1 | 169 | 1/17/2024 |
3.3.0 | 618 | 11/2/2023 |
3.0.0 | 1,331 | 9/4/2023 |
2.1.4 | 1,347 | 3/21/2023 |
2.0.1 | 524 | 1/10/2023 |
2.0.0 | 344 | 1/10/2023 |