会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
KevinSteven
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2023年10月4日
Git 设置用户名和邮箱
摘要: 1.用户名和邮箱的作用 用户名和邮箱地址是本地Git客户端的一个变量,用户每次提交代码都会记录用户名和邮箱。 安装好Git后,打开Git bash Here,在命令框中,输入以下命令 2.设置用户名 3.设置邮箱 4.查看用户名和邮箱
阅读全文
posted @ 2023-10-04 16:00 KevinSteven
阅读(429)
评论(0)
推荐(0)
2023年10月2日
C# 调用存储过程
摘要: 转载:https://blog.csdn.net/m372838677/article/details/121360607 string connString = "Server=MATEBOOK16S\\SQLEXPRESS;DataBase=MISDB;Uid=sa;Pwd=123456"; v
阅读全文
posted @ 2023-10-02 13:29 KevinSteven
阅读(27)
评论(0)
推荐(0)
2023年9月30日
ADO.Net 基础
摘要: string connString = "Server=MATEBOOK16S\\SQLEXPRESS;DataBase=MISDB;Uid=sa;Pwd=123456"; //连接数据库void ConnectDB(){ //1.创建Connecation对象 //SqlConnection co
阅读全文
posted @ 2023-09-30 14:08 KevinSteven
阅读(29)
评论(0)
推荐(0)
2023年9月29日
C# 完成SAGA分布式事务
摘要: https://zhuanlan.zhihu.com/p/460610918
阅读全文
posted @ 2023-09-29 16:09 KevinSteven
阅读(24)
评论(0)
推荐(0)
C# 事务实现代码
摘要: //简单事务实现代码 static void Test() { DataTable dt = new DataTable(); SqlConnection cnn = new SqlConnection("连接字符串"); SqlCommand cmd = new SqlCommand(); cmd
阅读全文
posted @ 2023-09-29 15:59 KevinSteven
阅读(44)
评论(0)
推荐(0)
2023年9月26日
C# WebAPI
摘要: 1.WebRequest方法 Post: private void button1_Click(object sender,EventArgs e) { string ss = HttpPost("http://localhost:41558/api/Demo/PostXXX","{Code:\"t
阅读全文
posted @ 2023-09-26 21:02 KevinSteven
阅读(75)
评论(0)
推荐(0)
C# 中的多线程实现方式
摘要: https://blog.csdn.net/Upgrader/article/details/107774139
阅读全文
posted @ 2023-09-26 16:11 KevinSteven
阅读(17)
评论(0)
推荐(0)
C# 死锁的原理与排查方法详解
摘要: https://blog.csdn.net/DotnetNb/article/details/131075198 https://blog.csdn.net/m0_52559870/article/details/124980608
阅读全文
posted @ 2023-09-26 16:01 KevinSteven
阅读(116)
评论(0)
推荐(0)
C# lock的利弊
摘要: lock:锁 个人理解主要是锁住代码块,只让一个线程执行锁住的代码块内容。其他线程必须等待当前的线程执行完代码块后,锁被释放了,才能进入执行。这样做的好处,可以在多线程中,保证线程安全。 以下是个人在网上搜集的一些关于lock的弊端: 1.性能开销:使用lock会造成额外的性能开销,因为每次进入和退
阅读全文
posted @ 2023-09-26 15:53 KevinSteven
阅读(390)
评论(0)
推荐(0)
2023年9月25日
C# 枚举高级用法之Description
摘要: 基础枚举 public enum Anima{ //默认值dog =0, 依次往下排,可自定义fox = 1, fish =2,tiger=3 dog, fox, fish, tiger } 高级用法,反射元数据 加了Description,就可以通过反射访问这些数据 public enum Ani
阅读全文
posted @ 2023-09-25 15:07 KevinSteven
阅读(632)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告