Esempio n. 1
0
 public virtual WhereClause Or(WhereClause rightExpression)
 => rightExpression.Equals(Empty) ? this : new ChainingExpression(this, "OR", rightExpression);
Esempio n. 2
0
 internal ChainingExpression(WhereClause left, string chainingOperator, WhereClause right)
 {
     this.left             = left;
     this.right            = right;
     this.chainingOperator = chainingOperator;
 }
Esempio n. 3
0
 public IList <TObject> SelectObjects <TObject>(WhereClause whereClause)
     where TObject : DataObject
 {
     return(MultipleSelectObjects <TObject>(new[] { whereClause }).First());
 }
Esempio n. 4
0
 public override WhereClause Or(WhereClause rightExpression) => rightExpression;
Esempio n. 5
0
 public TObject SelectObject <TObject>(WhereClause whereClause)
     where TObject : DataObject
 {
     return(SelectObjects <TObject>(whereClause).FirstOrDefault());
 }