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