// ColumnTuple: columnName = field
        public void SetWhere(ColumnTuple columnTuple, string field)
        {
            // Check the arguments for null
            ThrowIf.IsNullArgument(columnTuple, nameof(columnTuple));

            this.Where = String.Format("{0} = {1}", columnTuple.Name, Sql.Quote(field));
        }
 public ColumnTuplesWithWhere(ColumnTuple column, string field)
 {
     this.SetWhere(column, field);
     this.Columns = new List <ColumnTuple>
     {
         column
     };
 }
 public ColumnTuplesWithWhere(ColumnTuple column, string field, bool useNotEqualCondition)
 {
     if (useNotEqualCondition)
     {
         this.SetWhereNotEquals(column, field);
     }
     else
     {
         this.SetWhere(column, field);
     }
     this.Columns = new List <ColumnTuple>
     {
         column
     };
 }
 public ColumnTuplesWithWhere(List <ColumnTuple> columns, ColumnTuple tuple)
     : this(columns)
 {
     this.SetWhere(tuple);
 }