Example #1
0
 public IMergeDataBuilderFinalOutput <TTable> Set(TargetUpdateMapping <TTable> mapping)
 {
     this._whenNotMatchedBySource = this._whenNotMatchedBySource
                                    .AssertNotNull("NotMatchedBySource is expected to be set")
                                    .WithMapping(mapping.AssertArgumentNotNull(nameof(mapping)));
     return(this);
 }
Example #2
0
 public WhenNotMatchedBySource WithMapping(TargetUpdateMapping <TTable> mapping)
 {
     if (this.IsDelete)
     {
         throw new SqExpressException("Additional settings are not allowed in case of deletion");
     }
     return(new WhenNotMatchedBySource(false, this.And, mapping));
 }
Example #3
0
 public WhenNotMatchedBySource(bool isDelete, ExprBoolean?and, TargetUpdateMapping <TTable>?mapping)
 {
     this.IsDelete = isDelete;
     this.Mapping  = mapping;
     this.And      = and;
 }