Modify( x => x.From( Table | SubSelect ) .Where( Condition ) ) .OnInsert( new_row) .onUpdate( new_row , old_row) .onAlways( new_row , old_row)