I have searched for this, but still can\'t seem to get this to work for me. I have an array of Id\'s associated with a user (their Organization Id). These are placed in an
While this is probably better suited to a join, you can use this:
List query = (from p in this.Database.Personnels where OrgIds.Contains(p.OrgID) select p).ToList();
This will translate into SQL something like..
where OrgID in (1,2,...,n)