Click or drag to resize

ORMClassExtensionsIsEmpty Method (ISortExpression)

Determines whether the specified sortexpression is empty. A null passed in is also considered empty.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public static bool IsEmpty(
	this ISortExpression toCheck
)

Parameters

toCheck
Type: SD.LLBLGen.Pro.ORMSupportClassesISortExpression
To check.

Return Value

Type: Boolean
true if the sortexpression passed in is null or has no elements, false otherwise.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ISortExpression. 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