예제 #1
0
 public Task <Envelope[]> LoadPageOfLocallyOwned()
 {
     return(_session.CreateCommand(_findAtLargeEnvelopesSql)
            .ExecuteToEnvelopesWithAttempts(_cancellation));
 }
예제 #2
0
 public Task <Envelope[]> Load(Uri destination)
 {
     return(_session.CreateCommand(_findOutgoingEnvelopesSql)
            .With("destination", destination.ToString())
            .ExecuteToEnvelopes(_cancellation));
 }
예제 #3
0
 public Task ReassignDormantNodeToAnyNode(int nodeId)
 {
     return(_session.CreateCommand(_reassignDormantNodeSql)
            .With("owner", nodeId)
            .ExecuteNonQueryAsync(_cancellation));
 }