http://xiangai.taobao.com
http://shop148612228.taobao.com
摘要: 1.第一种方式if(partsSalesOrderTypes.GroupBy(entity => new { entity.Name, entity.Code }).Any(array => array.Count() > 1)) { /*违反多字段唯一时,提示信息处理*/ return;}2.第二 阅读全文
posted @ 2019-06-25 18:02 万事俱备就差个程序员 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 1.调用: UserList = UserList.ToList().Intersect(userIDList, new MyUserComparer()).AsQueryable(); 2.需要重写的方法:public class MyUserComparer : IEqualityCompare 阅读全文
posted @ 2019-06-25 18:01 万事俱备就差个程序员 阅读(309) 评论(0) 推荐(0) 编辑
摘要: var beatles = (new[] { new { inst = "张三" , age="50" }, new { inst = "张三" , age="20" }, new { inst = "何英" , age="35" }, new { inst = "张三" , age="60" }, 阅读全文
posted @ 2019-06-25 18:00 万事俱备就差个程序员 阅读(456) 评论(0) 推荐(0) 编辑

http://xiangai.taobao.com
http://shop148612228.taobao.com
如果您觉得对您有帮助.领个红包吧.谢谢.
支付宝红包
微信打赏 支付宝打赏