/// <summary> /// Add a list of simple strings to the selection part of the /// query. /// </summary> /// <param name="selects">List of strings</param> /// <returns>Query</returns> public IQuery Select(params string[] selects) { SelectList.AddRange(selects); return(this); }
public void AddRange(IEnumerable <BaseUnit> units) => SelectList.AddRange(units);
/// <summary> /// Add this list to the select part of the query. This /// accepts any type of list, but must be one of the types /// of data we support, primitives, lists, maps /// </summary> /// <param name="objectList">Generic List of select fields</param> /// <returns>Query</returns> public IQuery Select(IEnumerable <object> objectList) { SelectList.AddRange(objectList); return(this); }