示例#1
0
 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;
 }
示例#2
0
        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);
        }
示例#3
0
 public void AddJoinColumn(JoinColumn leftColumn, JoinColumn rightColumn,
                           RelationalOperators relationalOperator = RelationalOperators.Equal,
                           LogicalOperators logicalOperator       = LogicalOperators.And)
 {
     AddJoinColumn(new JoinColumnMap(leftColumn, rightColumn, relationalOperator, logicalOperator));
 }