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
You could also use:
List codes = new List(); codes.add(1); codes.add(2); var foo = from codeData in channel.AsQueryable() where codes.Any(code => codeData.CodeID.Equals(code)) select codeData;