public JoinColumnMap(JoinColumn leftColumn, JoinColumn rightColumn, RelationalOperators relationalOperator = RelationalOperators.Equal, LogicalOperators logicalOperator = LogicalOperators.And) { LeftColumn = leftColumn ?? throw new ArgumentNullException(nameof(leftColumn)); RightColumn = rightColumn ?? throw new ArgumentNullException(nameof(rightColumn)); RelationalOperator = relationalOperator; LogicalOperator = logicalOperator; }
public void AddJoinColumn( IEntityName leftTable, IItemName leftColumnName, IItemName rightColumnName, RelationalOperators relationalOperator = RelationalOperators.Equal, LogicalOperators logicalOperator = LogicalOperators.And) { var leftColumn = new JoinColumn(leftTable, leftColumnName); AddJoinColumn(leftColumn, GetJoinColumn(rightColumnName), relationalOperator, logicalOperator); }
public void AddJoinColumn(JoinColumn leftColumn, JoinColumn rightColumn, RelationalOperators relationalOperator = RelationalOperators.Equal, LogicalOperators logicalOperator = LogicalOperators.And) { AddJoinColumn(new JoinColumnMap(leftColumn, rightColumn, relationalOperator, logicalOperator)); }