IElementCreatorCoreCreateDynamicRelation Method (String, JoinHint, String, String, String, IPredicate) |
Creates a new dynamic relation instance
Namespace: SD.LLBLGen.Pro.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax IDynamicRelation CreateDynamicRelation(
string leftOperandEntityName,
JoinHint joinType,
string rightOperandEntityName,
string aliasLeftOperand,
string aliasRightOperand,
IPredicate onClause
)
Function CreateDynamicRelation (
leftOperandEntityName As String,
joinType As JoinHint,
rightOperandEntityName As String,
aliasLeftOperand As String,
aliasRightOperand As String,
onClause As IPredicate
) As IDynamicRelation
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:
IDynamicRelationready to use dynamic relation
See Also