public virtual SqlCondition AndWhere(SqlCondition condition) { if (this.And == null) { this.And = condition; } else { this.And.AndWhere(condition); } return(this); }
public virtual SqlCondition OrWhere(SqlCondition condition) { if (this.Or == null) { this.Or = condition; } else { this.Or.OrWhere(condition); } return(this); }
public SqlQueryBuilder Where(SqlCondition condition) { if (this.WhereCondition == null) { this.WhereCondition = condition; } else { this.WhereCondition.AndWhere(condition); } return(this); }