示例#1
0
 public IMergeDataBuilderWhenInit <TTable> AndOn(MergeTargetSourceCondition <TTable> condition)
 {
     this._andOn = condition
                   .AssertArgumentNotNull(nameof(condition))
                   .Invoke(this._table, this._sourceTableAlias)
                   .AssertNotNull("Extra join condition cannot be null");
     return(this);
 }
示例#2
0
 public IMergeDataBuilderNotMatchTargetExclude <TTable> WhenNotMatchedByTargetThenInsert(
     MergeTargetSourceCondition <TTable>?and = null)
 {
     this._whenNotMatchedByTarget = WhenNotMatchedByTarget.Insert(and?.Invoke(this._table, this._sourceTableAlias).AssertNotNull("Boolean expression cannot be null"));
     return(this);
 }
示例#3
0
 public IMergeDataBuilderNotMatchTarget <TTable> WhenMatchedThenDelete(MergeTargetSourceCondition <TTable>?and = null)
 {
     this._whenMatched = WhenMatched.Delete(and?.Invoke(this._table, this._sourceTableAlias).AssertNotNull("Boolean expression cannot be null"));
     return(this);
 }