Click or drag to resize

BetweenPredicateProducersBetween Method (IExpression, Object, Object)

Creates a Between predicate which is true if the result of the expression specified is between valueBegin and valueEnd, valueBegin and valueEnd included.

Namespace:  SD.LLBLGen.Pro.QuerySpec
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax
public static IPredicate Between(
	this IExpression expression,
	Object valueBegin,
	Object valueEnd
)

Parameters

expression
Type: SD.LLBLGen.Pro.ORMSupportClassesIExpression
The expression.
valueBegin
Type: SystemObject
The begin value. Can be a field or normal value.
valueEnd
Type: SystemObject
The end value. Can be a field or normal value.

Return Value

Type: IPredicate

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IExpression. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also