Click or drag to resize

ORMClassExtensionsLast Method

Gets the last relation in the passed in relations collection or null if it's 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 IRelation Last(
	this IRelationCollection relations
)

Parameters

relations
Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
The relations.

Return Value

Type: IRelation
the last relation in the passed in relations collection or null if it's empty

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