Click or drag to resize

IElementCreatorCoreCreateDynamicRelation Method (String, JoinHint, String, String, String, IPredicate)

Creates a new dynamic relation instance

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
IDynamicRelation CreateDynamicRelation(
	string leftOperandEntityName,
	JoinHint joinType,
	string rightOperandEntityName,
	string aliasLeftOperand,
	string aliasRightOperand,
	IPredicate onClause
)

Parameters

leftOperandEntityName
Type: SystemString
Name of the entity which is used as the left operand.
joinType
Type: SD.LLBLGen.Pro.ORMSupportClassesJoinHint
Type of the join. If None is specified, Inner is assumed.
rightOperandEntityName
Type: SystemString
Name of the entity, which is used as the right operand.
aliasLeftOperand
Type: SystemString
The alias of the left operand. If you don't want to / need to alias the right operand (only alias if you have to), specify string.Empty.
aliasRightOperand
Type: SystemString
The alias of the right operand. If you don't want to / need to alias the right operand (only alias if you have to), specify string.Empty.
onClause
Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
The on clause for the join.

Return Value

Type: IDynamicRelation
ready to use dynamic relation
See Also