예제 #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));
 }