Does Entity Framework 4 have a Contains feature?
Right now I am using an extension开发者_开发百科 to linq to provide me with the functionality of Contains. I call the WhereIn like this:
Answers = Answers.WhereIn(x => x.category.catid, catSTRarray);
Is there a built in function within entity framework to use?
pseudo code
Answers.Where(x => catSTRarray.Contains(x.category.catid));
精彩评论