Commit fe58f595 authored by Nick Craver's avatar Nick Craver

Cleanup: ITransaction

parent 8aa456fe
...@@ -18,16 +18,19 @@ public interface ITransaction : IBatch ...@@ -18,16 +18,19 @@ public interface ITransaction : IBatch
/// <summary> /// <summary>
/// Adds a precondition for this transaction /// Adds a precondition for this transaction
/// </summary> /// </summary>
/// <param name="condition">The condition to add to the transaction.</param>
ConditionResult AddCondition(Condition condition); ConditionResult AddCondition(Condition condition);
/// <summary> /// <summary>
/// Execute the batch operation, sending all queued commands to the server. /// Execute the batch operation, sending all queued commands to the server.
/// </summary> /// </summary>
/// <param name="flags">The command flags to use.</param>
bool Execute(CommandFlags flags = CommandFlags.None); bool Execute(CommandFlags flags = CommandFlags.None);
/// <summary> /// <summary>
/// Execute the batch operation, sending all queued commands to the server. /// Execute the batch operation, sending all queued commands to the server.
/// </summary> /// </summary>
/// <param name="flags">The command flags to use.</param>
Task<bool> ExecuteAsync(CommandFlags flags = CommandFlags.None); Task<bool> ExecuteAsync(CommandFlags flags = CommandFlags.None);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment