上一页 1 ··· 74 75 76 77 78 79 80 81 82 ··· 129 下一页
摘要: sc delete MySQL57mysqld --install MySQL57 --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" 阅读全文
posted @ 2022-04-11 14:03 China Soft 阅读(48) 评论(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 阅读(353) 评论(0) 推荐(0)
摘要: SQL 语句有很多函数如len(),now()等等。如何来生成这些函数。最近研究也写办法共大家参考。 一.首先建立一个建一个扩展类,控制只能允许这些函数出现,如果出现其他函数就直接报异常。 1 public static class SQLMethods 2 { 3 public static bo 阅读全文
posted @ 2022-04-11 11:26 China Soft 阅读(173) 评论(0) 推荐(0)
摘要: 在用Expression解析的的时候碰到一些参数(不是具体的值),会出现这种情况。 在这里我们希望得到的是id=10,而不是id=m_id;那如何来解析这些参数? \ 首先参数分为2中,一种是n.id,这种可以说是一种形参,没有具体的数据只是泛型中的一个属性,这种应该被解析成字符串id,另外一种是m 阅读全文
posted @ 2022-04-11 11:26 China Soft 阅读(128) 评论(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 阅读(75) 评论(0) 推荐(0)
摘要: 使用EF做更新时,若没有进行跟踪会默认全字段更新,那怎么做到只更新我们想要更新的字段呢? 1 /// <summary> 2 /// 修改指定属性的单条数据 3 /// </summary> 4 /// <typeparam name="T">实体</typeparam> 5 /// <param 阅读全文
posted @ 2022-04-11 10:20 China Soft 阅读(609) 评论(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 阅读(883) 评论(0) 推荐(0)
摘要: https://www.donet5.com/Home/Doc 阅读全文
posted @ 2022-04-11 09:24 China Soft 阅读(352) 评论(0) 推荐(0)
摘要: ymnets ruoyinet https://gitee.com/izory/ZrAdminNetCore/tree/net6.0/ 阅读全文
posted @ 2022-04-11 09:00 China Soft 阅读(26) 评论(0) 推荐(0)
摘要: 您的问题有点误导,因为它询问如何在Web浏览器中打开本地页面,但您实际上想知道如何启动Web服务器以便可以在浏览器中打开它. 服务/ tmp / data文件夹的示例: http.Handle("/", http.FileServer(http.Dir("/tmp/data"))) panic(ht 阅读全文
posted @ 2022-04-09 11:29 China Soft 阅读(483) 评论(0) 推荐(0)
上一页 1 ··· 74 75 76 77 78 79 80 81 82 ··· 129 下一页