I have a function where I get a list of ids, and I need to return the a list matching a description that is associated with the id. E.g.:
public class CodeDa
Use
where list.Contains(item.Property)
Or in your case:
var foo = from codeData in channel.AsQueryable() where codeIDs.Contains(codeData.CodeId) select codeData;
But you might as well do that in dot notation:
var foo = channel.AsQueryable() .Where(codeData => codeIDs.Contains(codeData.CodeId));