Example #1
0
 public WhereList OR(string tableName, string columnName, WhereComparison comparison, string otherTableName, string otherColumnName)
 {
     var wl = new WhereList();
     wl.Add(this);
     return wl.OR(tableName, columnName, comparison, otherTableName, otherColumnName);
 }
Example #2
0
 public WhereMemberExpression(string field, object value, WhereComparison comparison)
 {
     this.FieldName  = field;
     this.Value      = value;
     this.Comparison = comparison;
 }
Example #3
0
 public WhereList OR(object thisObject, ValueObjectType thisObjectType, WhereComparison comparison, object thatObject, ValueObjectType thatObjectType)
 {
     var wl = new WhereList();
     wl.Add(this);
     return wl.OR(thisObject, thisObjectType, comparison, thatObject, thatObjectType);
 }
Example #4
0
 public WhereList OR(IPhrase phrase, WhereComparison comparison, string tableName, string columnName)
 {
     var wl = new WhereList();
     wl.Add(this);
     return wl.OR(phrase, comparison, tableName, columnName);
 }
Example #5
0
 public Where(WhereCondition condition, IPhrase phrase, WhereComparison comparison, string tableName, string columnName)
 {
     Condition = condition;
     First = phrase;
     FirstType = ValueObjectType.Value;
     Comparison = comparison;
     SecondTableName = tableName;
     Second = columnName;
     SecondType = ValueObjectType.ColumnName;
 }
Example #6
0
 public Where(WhereCondition condition, Query query, WhereComparison comparison, string tableName, string columnName)
 {
     Condition = condition;
     First = query;
     FirstType = ValueObjectType.Value;
     Comparison = comparison;
     SecondTableName = tableName;
     Second = columnName;
     SecondType = ValueObjectType.ColumnName;
 }
Example #7
0
 public Query Having(WhereCondition condition, object thisObject, ValueObjectType thisObjectType, WhereComparison comparison, object thatObject, ValueObjectType thatObjectType)
 {
     return Having(new Where(condition, thisObject, thisObjectType, comparison, thatObject, thatObjectType));
 }
Example #8
0
 public Where(WhereCondition condition,
     string tableName, string columnName,
     WhereComparison comparedBy, string thatTableName, string thatColumnName)
 {
     Condition = condition;
     Comparison = comparedBy;
     FirstTableName = tableName;
     First = columnName;
     FirstType = ValueObjectType.ColumnName;
     SecondTableName = thatTableName;
     Second = thatColumnName;
     SecondType = ValueObjectType.ColumnName;
 }
Example #9
0
 public Query Having(IPhrase phrase, WhereComparison comparison, object value, ValueObjectType valueType = ValueObjectType.Value)
 {
     return Having(WhereCondition.AND, phrase, comparison, value, valueType);
 }
Example #10
0
 public Query Having(Query query, WhereComparison comparison, string tableName, string columnName)
 {
     return Having(WhereCondition.AND, query, comparison, tableName, columnName);
 }
Example #11
0
 public Query Having(string tableName, string columnName, WhereComparison comparison, string otherTableName, string otherColumnName)
 {
     return Having(WhereCondition.AND, tableName, columnName, comparison, otherTableName, otherColumnName);
 }
Example #12
0
 public Query Having(string tableName, string columnName, WhereComparison comparison, object value)
 {
     return Having(WhereCondition.AND, tableName, columnName, comparison, value);
 }
Example #13
0
 public Query Where(Query query, WhereComparison comparison, object value, ValueObjectType valueType = ValueObjectType.Value)
 {
     return Where(new Where(WhereCondition.AND, query, comparison, value, valueType));
 }
Example #14
0
 public Query Where(Query query, WhereComparison comparison, string tableName, string columnName)
 {
     return Where(new Where(WhereCondition.AND, query, comparison, tableName, columnName));
 }
Example #15
0
 public Query Having(WhereCondition condition, string columnName, WhereComparison comparison, object value)
 {
     return Having(new Where(condition, columnName, ValueObjectType.ColumnName, comparison, value, ValueObjectType.Value));
 }
Example #16
0
 public Where(WhereCondition condition, object thisObject, ValueObjectType thisObjectType, WhereComparison comparedBy, object thatObject, ValueObjectType thatObjectType)
 {
     Condition = condition;
     Comparison = comparedBy;
     First = thisObject;
     FirstType = thisObjectType;
     Second = thatObject;
     SecondType = thatObjectType;
 }
Example #17
0
 public Query Having(WhereCondition condition, string tableName, string columnName, WhereComparison comparison, object value)
 {
     Having(new Where(condition, tableName, columnName, comparison, value));
     return this;
 }
Example #18
0
 public Where(WhereCondition condition, IPhrase phrase, WhereComparison comparison, object value, ValueObjectType valueType = ValueObjectType.Value)
 {
     Condition = condition;
     First = phrase;
     FirstType = ValueObjectType.Value;
     Comparison = comparison;
     Second = value;
     SecondType = valueType;
 }
Example #19
0
 public Query Having(WhereCondition condition, string tableName, string columnName, WhereComparison comparison, string otherTableName, string otherColumnName)
 {
     Having(new Where(condition, tableName, columnName, comparison, otherTableName, otherColumnName));
     return this;
 }
Example #20
0
 public Where(WhereCondition condition, Query query, WhereComparison comparison, object value, ValueObjectType valueType = ValueObjectType.Value)
 {
     Condition = condition;
     First = query;
     FirstType = ValueObjectType.Value;
     Comparison = comparison;
     Second = value;
     SecondType = valueType;
 }
Example #21
0
 public Query Having(WhereCondition condition, IPhrase phrase, WhereComparison comparison, string tableName, string columnName)
 {
     return Having(new Where(condition, phrase, comparison, tableName, columnName));
 }
Example #22
0
 public WhereList AND(IPhrase phrase, WhereComparison comparison, object value)
 {
     var wl = new WhereList();
     wl.Add(this);
     return wl.AND(phrase, comparison, value);
 }
Example #23
0
 public Query Having(WhereCondition condition, Query query, WhereComparison comparison, string tableName, string columnName)
 {
     return Having(new Where(condition, query, comparison, tableName, columnName));
 }
Example #24
0
 public WhereList OR(IPhrase phrase, WhereComparison comparison, object value, ValueObjectType valueType)
 {
     var wl = new WhereList();
     wl.Add(this);
     return wl.OR(phrase, comparison, value, valueType);
 }
Example #25
0
 public Query Having(WhereCondition condition, Query query, WhereComparison comparison, object value, ValueObjectType valueType = ValueObjectType.Value)
 {
     return Having(new Where(condition, query, comparison, value, valueType));
 }
Example #26
0
 public WhereList OR(string tableName, string columnName, WhereComparison comparison, object columnValue)
 {
     var wl = new WhereList();
     wl.Add(this);
     return wl.OR(tableName, columnName, comparison, columnValue);
 }
Example #27
0
 public Where(string tableName, string columnName,
     WhereComparison comparedBy, object value)
 {
     Comparison = comparedBy;
     FirstTableName = tableName;
     First = columnName;
     FirstType = ValueObjectType.ColumnName;
     Second = value;
     SecondType = ValueObjectType.Value;
 }
Example #28
0
 public Where(object thisLiteral, WhereComparison comparedBy, object thatLiteral)
 {
     Comparison = comparedBy;
     First = thisLiteral;
     Second = thatLiteral;
 }
Example #29
0
 public Where(IPhrase phrase, WhereComparison comparison, object value)
 {
     First = phrase;
     FirstType = ValueObjectType.Value;
     Comparison = comparison;
     Second = value;
     SecondType = ValueObjectType.Value;
 }
 public WhereMemberExpression(string field, object value, WhereComparison comparison)
 {
     this.FieldName = field;
     this.Value = value;
     this.Comparison = comparison;
 }
Example #31
0
 public Query Where(IPhrase phrase, WhereComparison comparison, object value, ValueObjectType valueType = ValueObjectType.Value)
 {
     return Where(new Where(WhereCondition.AND, phrase, comparison, value, valueType));
 }