views:

45

answers:

1

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?

+3  A: 

pseudo code

Answers.Where(x => catSTRarray.Contains(x.category.catid)); 
Raj Kaimal
wow...thats how it should be used. Thanks
Luke101