01 2021 档案
摘要:sqlserver //like 参数 string strSql = "select * from Person.Address where City like '%'+ @add + '%'"; SqlParameter[] Parameters=new SqlParameter[1]; Par
阅读全文
摘要:一、left join 顾名思义,就是“左连接”,表1左连接表2,以左为主,表示以表1为主,关联上表2的数据,查出来的结果显示左边的所有数据,然后右边显示的是和左边有交集部分的数据 二、right join “右连接”,表1右连接表2,以右为主,表示以表2为主,关联查询表1的数据,查出表2所有数据以
阅读全文
摘要:entity 字段必须和数据库字段一样 model, 前端需要什么我们就给什么 后台从数据库取了数据转化为前端需要的数据直接传给前端,前端就不需要对数据来处理,直接显示就行了 domain 很少用,代表一个对象模块
阅读全文
摘要:var parameters = new DynamicParameters(); parameters.Add("@ParameterName", parameterValue);
阅读全文
浙公网安备 33010602011771号