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