Click or drag to resize

RelationCollection Constructor (IEntityRelation, String, JoinHint)

Initializes a new instance of the RelationCollection class.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public RelationCollection(
	IEntityRelation toAdd,
	string aliasRelationEndEntity,
	JoinHint hint
)

Parameters

toAdd
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityRelation
IEntityRelation instance to add
aliasRelationEndEntity
Type: SystemString
the alias for the end entity in the relation (Customer.Relations.OrderUsingCustomerID: Order is end entity). Alias is case sensitive
hint
Type: SD.LLBLGen.Pro.ORMSupportClassesJoinHint
Hint to signal the join type for this relation. Overrules obeyWeakRelations, except when the hint is JoinHint.None.
See Also