NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #2999 most downloaded on NuGet
.Net Core3.1 .Net5 .Net6 .Net7 .Net8 .Net9 .Net10 安装此版本,好用的ORM框架 ,支持国外主流和国产人大金仓达梦 OceanBase GaussDB QuestDb ClickHouse Oracle MySql Gbase8s SqlServer Sqlite DB2 DuckDb Hana 等, 使用教程:https://www.donet5.com/Home/Doc?typeId=1226
Latest stable
5.1.3
Last release 2 months ago
13 Sep 2026
Ships fairly regularly
a new release about every 4 weeks
Rarely documented
notes for 6 of the last 60 stable releases
1534 versions withdrawn
withdrawn after publishing
127 years old
2121 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
添加 Queryable.IncludesByNameString("navname")
添加 Queryable.IncludesByNameString("navname")
优化mysql decimal codefirst默认为18,4
表达式支持 Where(it=>list参数.Any(z=>z.id==it.id&&z.name==it.name)) 实现多字段 OR
添加异步锁 using(await db.LockAsync()){ 中间代码 } ,解决C# lock 不能有await 的问题
修复ClickHouse Array类型
人大金仓CodeFirst Byte[] 不指定DataType 默认值错误
DateOnly? 如果是 null 更新会变成1900-01-01不是null
修复mysql bulkcopy 因为\n影起的BUG linux用户会出现
自定义类型 在 SetColumns中未生效 ,
CodeFirst基类XML读不到备注问题(历史遗留问题)
MySql支持了独立添加列备注功能 (技术性突破解决,以前要用修改列方法)
支持MySql建库根据字符串的Charset
优化DateOnly和TimeOnly
修复Db.Ado.MasterQuery(sql)会影响下面也走主表问题
修复部分库自动映射dto true 重载BUG
自定义类型 Where中失效
批量更新忽略null不更新报错
CodeFirst基类中XML备注读取不到
接口过滤器 联表查询特殊情况下BUG
乐观锁优化:更新失败还原版本字段的值
修复5.1.4.63 独有Bug , db.InsertableByObject异步方法返回自增报错
修复 5.1.4.62 独有BUG dh.Updateable.UpdateColumns 新版出错问题
DateTimeooffset 在非SqlServer上的优化
子查询联表 特殊情况问题
异步方法添加CancelToken重载
支持原生ORM SQL打印方法 方便调试:UtilMethods.GetNativeSql(sql,pars)
db.Updateable(data)可以用UpdateCoumns进行叠加
支持了自动导航到第二层(只更多层次手动处理)
支持导航了A下面有D,D下面有B和C .IncludesAllSecondLayer(x=>x.D) 这样一句可以把D 和BC都查出来
删除和更新支持了配置自动设置查询过滤器(过滤器文档)
高级保存语法糖(大数据插入和更新):db.Storageabl(data).ExecuteSqlBulkCopy()
高级保存语法糖(是0就插入大于0更新): Db.Storageable(list).DefaultAddElseUpdate().ExecuteCommand()
自定义类型添加:自带的通用转类 CommonPropertyConvert 比如string 转 int默认情况下不支持 用这个就可以
Oracle支持 SqlFunc.JsonField
无实体创建表,并且支持实体的所有功能
添加获取存储过程名字方法
添加获取索引集合方法
Sqlite支持备份数据库
特殊情况下排序bool类型出现=1
支持LeftJoin<T>(exp,表名)
PGSQL查不到分区表
子查询支持List<int>这种查询Subquery<T>().ToList(it=>it.Id)
修复达梦报错: Subquery<T>().SelectJoinString(it=>it.Id,",")
更新忽略NULL支持批量量
跟踪更新支持批量
支持了Updateable.Clone()
子查询支持单条
MySql支持了备份数据库
达梦CodeFirst BUG修复
重大体验提升:优化实体映射错误精确定具体字段
修改删除接口过滤器,不能指定删除具体某一个问题
QueryableWithAttr.LeftJoin支持同服务器跨库
QueryableWithAttr.IncludeLeftJoin支持同服务器跨库
人大金仓假删除 BUG
优化跨库查询
支持了自定义类型 CRUD
SqlServer支持JsonAarrayAny & JsonListAny
DateTimeOffset最小值
IntoTable支持返回受影响行数
添加 Db.Ado.MasterQuery
导航查询nullable类型不一致BUG
接口过滤器 Queryable<T,T2,T3>这种方式这种方式JOIN报错
ORACLE大数据插入返回-1
接口过滤器子查询未生效
修复Json数组函数在OR关系中问题
表达式中数据 函数(数组[i])解析BUG
PgSql获取表信息方法,备注不是建表时加上的 查询不到
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.