Liwendong.Frameworks.Data 1.5.2

dotnet add package Liwendong.Frameworks.Data --version 1.5.2
                    
NuGet\Install-Package Liwendong.Frameworks.Data -Version 1.5.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Liwendong.Frameworks.Data" Version="1.5.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Liwendong.Frameworks.Data" Version="1.5.2" />
                    
Directory.Packages.props
<PackageReference Include="Liwendong.Frameworks.Data" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Liwendong.Frameworks.Data --version 1.5.2
                    
#r "nuget: Liwendong.Frameworks.Data, 1.5.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Liwendong.Frameworks.Data@1.5.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Liwendong.Frameworks.Data&version=1.5.2
                    
Install as a Cake Addin
#tool nuget:?package=Liwendong.Frameworks.Data&version=1.5.2
                    
Install as a Cake Tool

Liwendong.Frameworks.Data

框架 - 数据操作相关的基础类

版本历史

1.5.3 (2026-10-20)

  • 修复:ToSqlDictionary/ToSqlParametersCore 异常后静默重置为空参数集并继续返回,调用方拿到空参数集生成空 SQL、失败点远离根因;改为记录日志后抛出 EasyErrorException(根因见 InnerException),失败信号直接传导至调用方

1.5.2 (2026-10-17)

  • 修复:GetPagerString 对 orderBy 增加白名单正则校验、对 tableName 增加标识符校验(非法内容抛 EasyErrorException),消除拼接注入面;where 片段补充"必须来自可信来源/参数化"安全警告
  • 修复:ToSqlDictionary 对 object/接口属性取 BaseType.Name 触发空引用,改用 typeof(Enum).IsAssignableFrom 判断枚举
  • 修复:删除对已放入 SqlParameter 的值再跑 FilterSqlString 的过滤(会破坏 O'Brien 等数据)
  • 修复:分页 (pageIndex-1)*pageSize int 溢出,改 long 计算并钳制 pageIndex>=1、pageSize>=1;GetPagerString 中 pageIndex<1 误置 0 的笔误
  • 修复:notContains 文档与实现不符(默认并不排除 Id),改正注释
  • 优化:ToSqlInsertParameters/ToSqlUpdateParameters 主体重复实现合并为共用核心
  • 优化:BaseBLL 空壳类补充用途注释

更新日志

[1.2.0]

  • 增加多库的配置
  • 移除接口 IEntityObject, 相关操作可以通过其他数据操作内容进行
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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 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 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net451 is compatible.  net452 was computed.  net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 is compatible.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Liwendong.Frameworks.Data:

Package Downloads
Liwendong.Frameworks.Data.SqlSugarExtend

SqlSugar辅助操作

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.5.2 126 10/20/2026
1.5.1 669 9/17/2025
1.5.0 353 9/1/2025
1.4.0 394 8/26/2025
1.3.0 258 8/23/2025
1.2.1 400 8/8/2025
1.2.0 340 8/2/2025
1.1.0 265 7/29/2025
1.0.2 4,878 5/27/2022
1.0.1 1,547 7/19/2021
1.0.0 648 6/18/2021