Sql.Net Class Library Documentation

WhereTerm.CreateBetween Method 

Creates a WhereTerm which checks weather a value is in a specifed range.

public static WhereTerm CreateBetween(
   SqlExpression expr,
   SqlExpression lowBound,
   SqlExpression highBound
);

Parameters

expr
Expression which yeilds the value to be checked
lowBound
Expression which yeilds the low bound of the range
highBound
Expression which yeilds the high bound of the range

Return Value

A new WhereTerm

Remarks

CreateBetween only accepts expressions which yeild a 'Date' or 'Number' values. All expressions must be of compatible types.

See Also

WhereTerm Class | Reeb.SqlOM Namespace