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.5.0.0 (5.5.18.1019)
Syntax public static RelationCollection AddRelationsRangeToRelationsCollection(
IRelationCollection destination,
IRelationCollection source
)
Public Shared Function AddRelationsRangeToRelationsCollection (
destination As IRelationCollection,
source As IRelationCollection
) As RelationCollection
Parameters
- destination
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
The destination. - source
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
The source.
Return Value
Type:
RelationCollectiondestination 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