Click or drag to resize

ORMClassExtensionsCloneWithoutFirst Method

Clones the relationcollection without the first relation.

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 IRelationCollection CloneWithoutFirst(
	this IRelationCollection toClone
)

Parameters

toClone
Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
To clone.

Return Value

Type: IRelationCollection
the relationcollection without the first relation.

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).
Remarks
Used in situations where a set of relations have to be added to a relationcollection but not the correlation relation (which is the first one). if there are more than one relations in the passed in collection, all are returned.
See Also