![]() |
VOOZH | about |
dotnet add package Densen.FreeSql.Extensions.BootstrapBlazor --version 10.0.0
NuGet\Install-Package Densen.FreeSql.Extensions.BootstrapBlazor -Version 10.0.0
<PackageReference Include="Densen.FreeSql.Extensions.BootstrapBlazor" Version="10.0.0" />
<PackageVersion Include="Densen.FreeSql.Extensions.BootstrapBlazor" Version="10.0.0" />Directory.Packages.props
<PackageReference Include="Densen.FreeSql.Extensions.BootstrapBlazor" />Project file
paket add Densen.FreeSql.Extensions.BootstrapBlazor --version 10.0.0
#r "nuget: Densen.FreeSql.Extensions.BootstrapBlazor, 10.0.0"
#:package Densen.FreeSql.Extensions.BootstrapBlazor@10.0.0
#addin nuget:?package=Densen.FreeSql.Extensions.BootstrapBlazor&version=10.0.0Install as a Cake Addin
#tool nuget:?package=Densen.FreeSql.Extensions.BootstrapBlazor&version=10.0.0Install as a Cake Tool
BootstrapBlazor的FreeSql数据注入服务扩展包
//添加FreeSql服务
builder.Services.AddFreeSql(option =>
{
option.UseConnectionString(FreeSql.DataType.Sqlite, "Data Source=demo.db;")
#if DEBUG
//开发环境:自动同步实体
.UseAutoSyncStructure(true)
.UseNoneCommandParameter(true)
//调试sql语句输出
.UseMonitorCommand(cmd => System.Console.WriteLine(cmd.CommandText + Environment.NewLine))
#endif
;
});
//全功能版
builder.Services.AddTransient(typeof(FreeSqlDataService<>));
数据服务支持的方法:
<h4>用户表</h4>
<TableAmePro TItem="AspNetUsers" ItemDetails="NullClass" ItemDetailsII="NullClass" ItemDetailsIII="NullClass" ShowColumnList />
<TableAmePro TItem="AspNetUsers"
IncludeByPropertyNames="@IncludeAspNetUsers"
ItemDetails="AspNetUserRoles"
SubIncludeByPropertyNames="@SubIncludeByPropertyNames"
ItemDetailsII="NullClass"
ItemDetailsIII="NullClass"
ShowColumnList
ShowExportButton
ShowDetailRowS
Field="@nameof(AspNetUsers.Id)"
FieldD="@nameof(AspNetUserRoles.UserId)"
ExportToStream="false"
ExportBasePath="temp"/>
@code{
//通过 UserId 联表读取角色表 AspNetUserRoles 指定用户数据, 但是AspNetUsers表主键是 Id 字段, 详表指定 FieldD="UserId"
//附加导航IncludeByPropertyName查询条件
List<string> IncludeAspNetUsers
{
get => new List<string> {
$"{nameof(AspNetUsers.AspNetUserRoless)},{nameof(AspNetUserRoles.AspNetRoless)}" ,
};
}
List<string> SubIncludeByPropertyNames = [nameof(AspNetUserRoles.AspNetRoless)];
}
FreeSql.Cloud 多库操作服务 (AddFreeSqlCloud), 提供跨数据库访问
2024-7-1
2024-2-9
2024-2-5
2024-2-1
2024-1-18
2024-1-12
2024-1-3
2023-09-30
2023-6-3
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on Densen.FreeSql.Extensions.BootstrapBlazor:
| Package | Downloads |
|---|---|
|
BootstrapBlazor.Table.Freesql
BootstrapBlazor 的 Table 扩展 |
Showing the top 3 popular GitHub repositories that depend on Densen.FreeSql.Extensions.BootstrapBlazor:
| Repository | Stars |
|---|---|
|
densen2014/BlazorMaui
用 c # 和 Razor 创建本机移动应用和桌面应用。使用 Blazor.BB.Maui,可以快速开发共享代码库运行于 Windows (Winforms/WPF/UWP)、Android、iOS、macOS 的应用。
|
|
|
densen2014/BlazorHybrid
关于BlazorHybrid的一切研究. 用 c # 和 Razor 创建本机移动应用和桌面应用。快速开发共享代码库运行于 Windows (Winforms/WPF/UWP)、Android、iOS、macOS、Linux 的应用。
|
|
|
densen2014/Blazor100
Blazor入门100天
|
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.0 | 204 | 12/27/2025 |
| 9.4.0 | 362 | 4/4/2025 |
| 9.3.1 | 269 | 2/6/2025 |
| 9.3.0 | 211 | 2/2/2025 |
| 9.2.0 | 234 | 2/2/2025 |
| 9.1.9 | 222 | 2/2/2025 |
| 9.1.2 | 375 | 12/22/2024 |
| 9.0.1 | 217 | 12/22/2024 |
| 9.0.0 | 291 | 11/13/2024 |
| 8.10.5 | 296 | 10/16/2024 |
| 8.10.4 | 256 | 10/16/2024 |
| 8.7.5 | 222 | 7/30/2024 |
| 8.7.1 | 308 | 7/7/2024 |
| 8.7.0 | 222 | 7/1/2024 |
| 8.6.0 | 252 | 6/5/2024 |
| 8.4.0 | 523 | 4/6/2024 |
| 8.3.4 | 306 | 3/9/2024 |
| 8.3.2 | 229 | 3/7/2024 |
| 8.3.1 | 242 | 2/26/2024 |
| 8.3.0 | 259 | 2/25/2024 |