예제 #1
0
		internal override SqlExpression VisitBetween(SqlBetween between)
		{
			this.VisitWithParens(between.Expression, between);
			_commandStringBuilder.Append(" BETWEEN ");
			this.Visit(between.Start);
			_commandStringBuilder.Append(" AND ");
			this.Visit(between.End);
			return between;
		}
예제 #2
0
 internal virtual SqlExpression VisitBetween(SqlBetween between) {
     between.Expression = this.VisitExpression(between.Expression);
     between.Start = this.VisitExpression(between.Start);
     between.End = this.VisitExpression(between.End);
     return between;
 }
예제 #3
0
		internal override SqlExpression VisitBetween(SqlBetween between)
		{
			SqlBetween nbet = new SqlBetween(
				between.ClrType,
				between.SqlType,
				this.VisitExpression(between.Expression),
				this.VisitExpression(between.Start),
				this.VisitExpression(between.End),
				between.SourceExpression
				);
			return nbet;
		}