摘要:
数据库中字段类型对应C#中的数据类型: 数据库 C#程序 int int32 text string bigint int64 binary System.Byte[] bit Boolean char string datetime System.DateTime decimal System.D 阅读全文
摘要:
在/etc/systemd/system/路径下添加 MyService.service文件并写入一下内容() [Unit] Description=MyService [Service] Type=simple #工作路径 WorkingDirectory=/home/software/net5. 阅读全文
摘要:
一、16进制转float型 static void Main(string[] args) { string value = "B6798842"; value = "428879B6"; #region Demo1 UInt32 x = Convert.ToUInt32(value, 16);// 阅读全文
摘要:
一、查询指定数据库(例“test”)占用磁盘空间大小 SELECT TABLE_SCHEMA AS "数据库", sum( table_rows ) AS "记录数", concat( TRUNCATE ( sum( data_length ) / 1024 / 1024, 2 ), ' MB' ) 阅读全文
摘要:
查询 public List<CheckDataEntity> GetList() { Int64 startTime = Stopwatch.GetTimestamp();//获取计时器机制中当前时间的最小单位数 可以理解为时钟周期 var filterBuilder = Builders<Che 阅读全文