C# Class MonoSoftware.MonoX.DAL.RelationClasses.DynamicRelation

Inheritance: DynamicRelationBase
Exibir arquivo Open project: MonoSoftware/MonoX-Data-Access-Layer Class Usage Examples

Public Methods

Method Description
DynamicRelation ( DerivedTableDefinition leftOperand ) : System

Initializes a new instance of the DynamicRelation class.

If a DynamicRelation is created with this CTor, it has to be the only one. It will be ignored if there are more relations in the relation collection.

DynamicRelation ( DerivedTableDefinition leftOperand, JoinHint joinType, DerivedTableDefinition rightOperand, IPredicate onClause ) : System

Initializes a new instance of the DynamicRelation class.

DynamicRelation ( DerivedTableDefinition leftOperand, JoinHint joinType, MonoSoftware rightOperand, string aliasRightOperand, IPredicate onClause ) : System

Initializes a new instance of the DynamicRelation class.

DynamicRelation ( MonoSoftware leftOperand, JoinHint joinType, MonoSoftware rightOperand, string aliasLeftOperand, string aliasRightOperand, IPredicate onClause ) : System

Initializes a new instance of the DynamicRelation class.

Protected Methods

Method Description
GetInheritanceProvider ( ) : IInheritanceInfoProvider

Gets the inheritance provider for inheritance info retrieval for entity operands

Method Details

DynamicRelation() public method

Initializes a new instance of the DynamicRelation class.
If a DynamicRelation is created with this CTor, it has to be the only one. It will be ignored if there are more relations in the relation collection.
public DynamicRelation ( DerivedTableDefinition leftOperand ) : System
leftOperand DerivedTableDefinition The left operand, which can only be a derived table definition. No join will take place.
return System

DynamicRelation() public method

Initializes a new instance of the DynamicRelation class.
public DynamicRelation ( DerivedTableDefinition leftOperand, JoinHint joinType, DerivedTableDefinition rightOperand, IPredicate onClause ) : System
leftOperand DerivedTableDefinition The left operand.
joinType JoinHint Type of the join. If None is specified, Inner is assumed.
rightOperand DerivedTableDefinition The right operand.
onClause IPredicate The on clause for the join.
return System

DynamicRelation() public method

Initializes a new instance of the DynamicRelation class.
public DynamicRelation ( DerivedTableDefinition leftOperand, JoinHint joinType, MonoSoftware rightOperand, string aliasRightOperand, IPredicate onClause ) : System
leftOperand DerivedTableDefinition The left operand.
joinType JoinHint Type of the join. If None is specified, Inner is assumed.
rightOperand MonoSoftware The right operand which is an entity type.
aliasRightOperand string 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 IPredicate The on clause for the join.
return System

DynamicRelation() public method

Initializes a new instance of the DynamicRelation class.
public DynamicRelation ( MonoSoftware leftOperand, JoinHint joinType, MonoSoftware rightOperand, string aliasLeftOperand, string aliasRightOperand, IPredicate onClause ) : System
leftOperand MonoSoftware The left operand, which is an entity.
joinType JoinHint Type of the join. If None is specified, Inner is assumed.
rightOperand MonoSoftware The right operand which is an entity.
aliasLeftOperand string The alias of the left operand. If you don't want to / need to alias the left operand (only alias if you have to), specify string.Empty.
aliasRightOperand string 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 IPredicate The on clause for the join.
return System

GetInheritanceProvider() protected method

Gets the inheritance provider for inheritance info retrieval for entity operands
protected GetInheritanceProvider ( ) : IInheritanceInfoProvider
return IInheritanceInfoProvider