Click or drag to resize

RelationCollectionAdd Method (IEntityRelation, JoinHint)

Adds the passed in IEntityRelation instance to the list.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public IEntityRelation Add(
	IEntityRelation relationToAdd,
	JoinHint hint
)

Parameters

relationToAdd
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityRelation
IEntityRelation instance to add
hint
Type: SD.LLBLGen.Pro.ORMSupportClassesJoinHint
Hint to signal the join type for this relation. Overrules obeyWeakRelations, except when the hint is JoinHint.None.

Return Value

Type: IEntityRelation
the added relation in the list, so you can chain commands on 1 line

Implements

IRelationCollectionAdd(IEntityRelation, JoinHint)
See Also