Fork me on GitHub
摘要: 需要下载的AMD SATA 驱动: 下载AMD SATA https://github.com/StoneIsDeveloper/UsefulTools/blob/master/AMD%20SATA/AMD_SATA.zip 系统: win10 ,AMD 下载文件之后,更新 SATA驱动,选择AMD 阅读全文
posted @ 2019-11-23 18:10 StoneLeee 阅读(2290) 评论(0) 推荐(0) 编辑
摘要: 参考文档:Dapper one to many Table C Code pulic List GetPersons(){ var sql = @"SELECT 1 AS Id, 'Daniel Dennett' AS Name, 1942 AS Born, 1 AS CountryId, 'Uni 阅读全文
posted @ 2019-09-22 11:59 StoneLeee 阅读(1724) 评论(0) 推荐(0) 编辑
摘要: 使用Dapper 执行存储过程插入一条数据,同时返回主键 Dapper 的参数类型有以下四种 System.Data.ParameterDirection Method 1 Use ParameterDirection.ReturnValue key: return @@IDENTITY p.Add 阅读全文
posted @ 2019-09-21 14:12 StoneLeee 阅读(283) 评论(0) 推荐(0) 编辑
摘要: Dapper 也可以使用 数组参数 参考:Blog on Github Dapper 调用存储过程 :单个参数 Dapper 调用存储过程 :数组参数 需要使用 Sql Server 的自定义类型 : dbo.IDList c code 阅读全文
posted @ 2019-09-07 21:38 StoneLeee 阅读(675) 评论(0) 推荐(0) 编辑
摘要: Resource from StackOverflow 使用存储过程,如何传递数组参数? 1.分割解析字符串,太麻烦 2.添加Sql Server 自定义类型 sp_addtype 问题需求:需要向SP 传递数组类型的参数 select from Users where ID IN (1,2,3 ) 阅读全文
posted @ 2019-09-07 15:30 StoneLeee 阅读(1004) 评论(0) 推荐(0) 编辑
摘要: MS文档 https://docs.microsoft.com/en us/windows server/administration/windows commands/mklink 命令参数 mklink [[/d] | [/h] | [/j]] 参数 |参数| 描述| | | | |/ d | 阅读全文
posted @ 2019-01-28 17:05 StoneLeee 阅读(5753) 评论(0) 推荐(1) 编辑