Click or drag to resize

LinqUtilsAddRelationsRangeToRelationsCollection Method

Adds the relations range in source to the relations collection called destination. If destination is null and source is not empty, a new relationcollection is returned with source's relations added to it.

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public static RelationCollection AddRelationsRangeToRelationsCollection(
	IRelationCollection destination,
	IRelationCollection source
)

Parameters

destination
Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
The destination.
source
Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
The source.

Return Value

Type: RelationCollection
destination with the relations of source added to it, or a new relationcollection instance if destination is empty and source isn't empty or null if destination is null and source is empty
See Also