随笔分类 - FreeSql
摘要:StringBuilder sb = new StringBuilder(); sb.Append("select a.id,a.stationid,a.stationname,a.stationdesc,a.keycode,"); sb.Append("b.address,b.area,b.cit
阅读全文
摘要:freesql执行存储过程,获取执行后的datatable值并返回 DbParameter p2 = null; DataTable dt = FreeSqlDbCon.GetFreeSql().Ado.CommandFluent("sp_app_reset_wkc_status") .Comman
阅读全文
摘要:可能的错误原因: 数据库表使用了自增列且为主键,导致更新失败。 修复方法:在所属model类的字段上添加以下标记 [Column(IsIdentity = true, IsPrimary = true)]
阅读全文