上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 110 下一页
摘要: C#中的IEnumerable接口深入研究【转】 里面有几句要点: C#和VB.NET中的LINQ提供了一种与SQL查询类似的“对象查询”语言,对于熟悉SQL语言的人来说除了可以提供类似关联、分组查询的功能外,还能获取编译时检查和Intellisense的支持,使用Entity Framework更 阅读全文
posted @ 2020-07-09 10:33 ProZkb 阅读(211) 评论(0) 推荐(0) 编辑
摘要: var p = new SqlParameter[2]; p[0] = new SqlParameter { ParameterName = "Name", SqlDbType = SqlDbType.NVarChar, Value = TBox.Text }; p[1] = new SqlPara 阅读全文
posted @ 2020-07-07 09:39 ProZkb 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 如何用PostMan请求WebApi postman请求webAPI传参数 就是说,postman body里传的值过来的,就会被Student这样的模型类接收(有的也要加[FormBody]修饰) 然后就是方法的其他的参数,就是通过Params传过来的 阅读全文
posted @ 2020-07-03 14:49 ProZkb 阅读(139) 评论(0) 推荐(0) 编辑
摘要: LINQ笔记-LINQ操作DataTable AsEnumerable() DataTable table = GetTable(); var q = from n in table.AsEnumerable() select new Person { ID=n.Field<int>("ID"), 阅读全文
posted @ 2020-07-01 16:36 ProZkb 阅读(488) 评论(0) 推荐(0) 编辑
摘要: EF Core利用Transaction对数据进行回滚保护 阅读全文
posted @ 2020-06-29 10:46 ProZkb 阅读(284) 评论(0) 推荐(0) 编辑
上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 110 下一页