Пример #1
0
 public SelectQuery SelectColumn(IEnumerable <string> columnsName)
 {
     foreach (string columnName in columnsName)
     {
         ColumnsToSelect.Add(Query.ColumnSyntax(columnName));
     }
     return(this);
 }
Пример #2
0
 public SelectQuery SelectValue(IEnumerable <object> values)
 {
     foreach (object value in values)
     {
         ColumnsToSelect.Add(Query.ValueSyntax(value));
     }
     return(this);
 }
Пример #3
0
 public SelectQuery SelectAggregate(AggregateFunction aggregateFunction, string columnName, bool distinct = false)
 {
     ColumnsToSelect.Add(Query.AggregateSyntax(aggregateFunction, columnName, distinct));
     return(this);
 }
Пример #4
0
 public SelectQuery SelectColumn(string columnName, params string[] columnsName)
 {
     ColumnsToSelect.Add(Query.ColumnSyntax(columnName));
     return(SelectColumn(columnsName));
 }
Пример #5
0
 public SelectQuery SelectValue(object value, params object[] values)
 {
     ColumnsToSelect.Add(Query.ValueSyntax(value));
     return(SelectValue(values));
 }