Monday, July 08, 2013

where in clause with Lambda expression

List<int> eventTypeIDs
 
   var ets =  entities.EventTypes.Where(p => eventTypeIDs.Contains(p.ID));

No comments:

Post a Comment