protected virtual IEnumerable <ContentItem> GetDataItemsByIds(params int[] ids) { if (ids == null || ids.Length == 0) { return(Enumerable.Empty <ContentItem>()); } var items = Engine.Content.Search.Repository.Find(Parameter.In("ID", ids)); return(items); }
public static Parameter TypeIn(string[] discriminators) { return(Parameter.In("class", discriminators)); }