Click or drag to resize

ORMClassExtensionsIsEmpty Method (IPredicate)

Determines whether the specified predicate or predicate expression 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.10.0.0 (5.10.0)
Syntax
public static bool IsEmpty(
	this IPredicate toCheck
)

Parameters

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

Return Value

Type: Boolean
true if the predicate 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 IPredicate. 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