Why do I get compilation errors from the following?
int[] threadIDs = { 4,5,6,7,8,9,10,11,12,13,14,15,16,17 };
CSDataContext db = new CSDataContext();
var posts = from p in db.cs_Posts, t in threadIDs
where p.ThreadID == t
select p.ThreadID;