Beispiel #1
0
        public override Task Reassign(int ownerId, Envelope[] outgoing)
        {
            var cmd = _session.CallFunction("uspMarkOutgoingOwnership")
                      .WithIdList(_settings, outgoing)
                      .With("owner", ownerId);

            return(cmd.ExecuteNonQueryAsync(_cancellation));
        }
Beispiel #2
0
 public Task Reassign(int ownerId, Envelope[] incoming)
 {
     return(_session.CallFunction("uspMarkIncomingOwnership")
            .WithIdList(_databaseSettings, incoming)
            .With("owner", ownerId)
            .ExecuteNonQueryAsync(_cancellation));
 }