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); }
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)); }
public WhenNotMatchedBySource(bool isDelete, ExprBoolean?and, TargetUpdateMapping <TTable>?mapping) { this.IsDelete = isDelete; this.Mapping = mapping; this.And = and; }