Castle.Services.Transaction Helper abstract class for implementors. Represents the contract for a transaction. Starts the transaction. Implementors should activate the apropriate resources in order to start the underlying transaction Succeed the transaction, persisting the modifications Cancels the transaction, rolling back the modifications Signals that this transaction can only be rolledback. This is used when the transaction is not being managed by the callee. Register a participant on the transaction. Registers a synchronization object that will be invoked prior and after the transaction completion (commit or rollback) Returns the current transaction status. Transaction context. Can be used by applications. Initializes a new instance of the class. The supported transaction mode for the components. transaction context will be created managing internally a connection, no transaction is opened though transaction context will be created if not present a new transaction context will be created an existing appropriate transaction context will be joined if present The supported isolation modes. Indicates that the target class wants to use the transactional services. Indicates the transaction support for a method. Declares unspecified values for transaction and isolation, which means that the transaction manager will use the default values for them Declares the transaction mode, but omits the isolation, which means that the transaction manager should use the default value for it. Declares both the transaction mode and isolation desired for this method. The transaction manager should obey the declaration. Returns the Returns the Gets or sets a value indicating whether the transaction should be distributed. true if a distributed transaction should be created; otherwise, false. Abstracts approaches to keep transaction activities that may differ based on the environments. Gets the current activity. The current activity. Initializes a new instance of the class. Obtains a lifetime service object to control the lifetime policy for this instance. An object of type used to control the lifetime policy for this instance. This is the current lifetime service object for this instance if one exists; otherwise, a new lifetime service object initialized to the value of the property. The immediate caller does not have infrastructure permission. 2 Gets the current activity. The current activity. Initializes a new instance of the class. The message. Initializes a new instance of the class. The message. The inner exception. Initializes a new instance of the class. The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. The class name is null or is zero (0). The info parameter is null. TODO: Ensure this class is thread-safe Manages the creation and disposal of instances. Creates a transaction. The transaction mode. The isolation mode. Creates a transaction. The transaction mode. The isolation mode. if set to true, the TM will create a distributed transaction. Should guarantee the correct disposal of transaction resources. Raised when a top level transaction was created Raised when a child transaction was created Raised when the transaction was committed successfully Raised when the transaction was rolledback successfully Raised when the transaction was disposed Raised when the transaction has failed on commit/rollback Returns the current . The transaction manager will probably need to hold the created transaction in the thread or in some sort of context. Initializes a new instance of the class. Initializes a new instance of the class. The activity manager. Creates a transaction. The transaction mode. The isolation mode. Creates a transaction. The transaction mode. The isolation mode. if set to true, the TM will create a distributed transaction. Factory method for creating a transaction. The transaction mode. The isolation mode. if set to true, the TM will create a distributed transaction. A transaction Gets or sets the activity manager. The activity manager. Gets or sets the logger. The logger. Represents a contract for a resource that can be enlisted within transactions. Implementors should start the transaction on the underlying resource Implementors should commit the transaction on the underlying resource Implementors should rollback the transaction on the underlying resource Depicts a synchronization contract. Code can be executed before and after the transaction completes Implementors may have code executing just before the transaction completes Implementors may have code executing just after the transaction completes Implements a transaction root. Emulates a standalone transaction but in fact it just propages a transaction. Obtains a lifetime service object to control the lifetime policy for this instance. An object of type used to control the lifetime policy for this instance. This is the current lifetime service object for this instance if one exists; otherwise, a new lifetime service object initialized to the value of the property. The immediate caller does not have infrastructure permission. 2 Gets the current activity. The current activity. Initializes a new instance of the class. The mode. The isolation mode. Implementors should start the transaction on the underlying resource Implementors should commit the transaction on the underlying resource Implementors should rollback the transaction on the underlying resource