Let's go
上一页 1 2 3 4 5 6 7 8 ··· 54 下一页
摘要: 数据库中字段类型对应C#中的数据类型: 数据库 C#程序 int int32 text string bigint int64 binary System.Byte[] bit Boolean char string datetime System.DateTime decimal System.D 阅读全文
posted @ 2023-07-25 16:06 chenze 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 在/etc/systemd/system/路径下添加 MyService.service文件并写入一下内容() [Unit] Description=MyService [Service] Type=simple #工作路径 WorkingDirectory=/home/software/net5. 阅读全文
posted @ 2023-07-17 14:33 chenze 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 一、16进制转float型 static void Main(string[] args) { string value = "B6798842"; value = "428879B6"; #region Demo1 UInt32 x = Convert.ToUInt32(value, 16);// 阅读全文
posted @ 2023-03-24 10:50 chenze 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 一、查询指定数据库(例“test”)占用磁盘空间大小 SELECT TABLE_SCHEMA AS "数据库", sum( table_rows ) AS "记录数", concat( TRUNCATE ( sum( data_length ) / 1024 / 1024, 2 ), ' MB' ) 阅读全文
posted @ 2023-03-06 15:28 chenze 阅读(2067) 评论(0) 推荐(0) 编辑
摘要: 查询 public List<CheckDataEntity> GetList() { Int64 startTime = Stopwatch.GetTimestamp();//获取计时器机制中当前时间的最小单位数 可以理解为时钟周期 var filterBuilder = Builders<Che 阅读全文
posted @ 2023-02-21 08:23 chenze 阅读(28) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 54 下一页
有事您Q我