Create() public static method

By default, the actions are delayed and executed only after the top-level transaction commits.
Make sure to dispose of the transaction once you're done - it will actually call Commit for you
public static Create ( ActionManager actionManager ) : Transaction
actionManager ActionManager
return Transaction
 /// <summary>
 /// Creates the transaction.
 /// </summary>
 /// <param name="delayed">if set to <c>true</c> [delayed].</param>
 /// <returns></returns>
 public Transaction CreateTransaction(bool delayed)
 {
     return(Transaction.Create(this, delayed));
 }
 /// <summary>
 /// Creates the transaction.
 /// </summary>
 /// <returns></returns>
 public Transaction CreateTransaction()
 {
     return(Transaction.Create(this));
 }