04 2017 档案
C#判断数据在数据库中是否已存在
摘要:将需要对比的列查询输出在DataTable中,然后使用方法进行对比 阅读全文
posted @ 2017-04-05 16:36 牛麦斯 阅读(1269) 评论(0) 推荐(0)
C#使用SelectMany代替二重foreach
摘要:这两天有一个项目需求,需要将List<List<model>>中最里面的model插入到数据库,一时间没有头绪。 在segmentfault咨询了一下,才想起来有SelectMany这么个方法,问题地址:https://segmentfault.com/q/1010000008921500 直接使用 阅读全文
posted @ 2017-04-05 16:29 牛麦斯 阅读(185) 评论(0) 推荐(0)