LINQ实现IN操作

string[] ids = new string[]{10101,10005,10007};
db.Profile.WhereNotIn(c => c.Id,ids);
posted @ 2011-12-27 21:57  大约  阅读(559)  评论(0编辑  收藏  举报