摘要: 编写 rain 彭睿扬 2022.2.1 20:51 到 22:57 审核 22:57 到 23:08 24 处更改 抄送 23:16 到 blog.csdn.net 以用户 锟斤拷有点烫 标题为 “RISC-V 架构指令集手册 第一册 无特权指令集 中文翻译” 抄送 23:18 到 mp.weix 阅读全文
posted @ 2022-04-11 21:14 China Soft 阅读(391) 评论(0) 推荐(0) 编辑
摘要: sc delete MySQL57mysqld --install MySQL57 --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" 阅读全文
posted @ 2022-04-11 14:03 China Soft 阅读(35) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; u 阅读全文
posted @ 2022-04-11 11:28 China Soft 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 在用Expression解析的的时候碰到一些参数(不是具体的值),会出现这种情况。 在这里我们希望得到的是id=10,而不是id=m_id;那如何来解析这些参数? \ 首先参数分为2中,一种是n.id,这种可以说是一种形参,没有具体的数据只是泛型中的一个属性,这种应该被解析成字符串id,另外一种是m 阅读全文
posted @ 2022-04-11 11:26 China Soft 阅读(98) 评论(0) 推荐(0) 编辑
摘要: SQL 语句有很多函数如len(),now()等等。如何来生成这些函数。最近研究也写办法共大家参考。 一.首先建立一个建一个扩展类,控制只能允许这些函数出现,如果出现其他函数就直接报异常。 1 public static class SQLMethods 2 { 3 public static bo 阅读全文
posted @ 2022-04-11 11:26 China Soft 阅读(145) 评论(0) 推荐(0) 编辑
摘要: sql有有四中基本语句,分别是增删改查,在建立model后如何生成这四中sql语句,降低开发时间。 我们先模拟出一张学生表: public class Student { public int id { get; set; } public string name { get; set; } pub 阅读全文
posted @ 2022-04-11 10:33 China Soft 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 使用EF做更新时,若没有进行跟踪会默认全字段更新,那怎么做到只更新我们想要更新的字段呢? 1 /// <summary> 2 /// 修改指定属性的单条数据 3 /// </summary> 4 /// <typeparam name="T">实体</typeparam> 5 /// <param 阅读全文
posted @ 2022-04-11 10:20 China Soft 阅读(515) 评论(0) 推荐(0) 编辑
摘要: 如今mysql普遍的插入方式有如下两种: 1、循环单条插入 <insert id="insert" parameterType="com.chargeProject.consumer.entity.Test"> insert into test (id, nums, name) values (#{ 阅读全文
posted @ 2022-04-11 09:29 China Soft 阅读(686) 评论(0) 推荐(0) 编辑
摘要: https://www.donet5.com/Home/Doc 阅读全文
posted @ 2022-04-11 09:24 China Soft 阅读(67) 评论(0) 推荐(0) 编辑
摘要: ymnets ruoyinet https://gitee.com/izory/ZrAdminNetCore/tree/net6.0/ 阅读全文
posted @ 2022-04-11 09:00 China Soft 阅读(16) 评论(0) 推荐(0) 编辑