Click or drag to resize

ORMClassExtensionsIsEmpty Method (IRelationCollection)

Determines whether the specified relation collection 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.8.0.0 (5.8.21.0111)
Syntax
public static bool IsEmpty(
	this IRelationCollection toCheck
)

Parameters

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

Return Value

Type: Boolean
true if the collection 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 IRelationCollection. 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