The AdoTransaction type exposes the following members.

Constructors

  NameDescription
Public methodAdoTransaction
Initializes a new instance of the AdoTransaction class.

Methods

  NameDescription
Public methodBegin()()()()
Public methodBegin(IsolationLevel)
Begins the IDbTransaction on the IDbConnection used by the ISession.
Public methodCommit
Commits the ITransaction by flushing the ISession and committing the IDbTransaction.
Public methodDispose()()()()
Takes care of freeing the managed and unmanaged resources that this class is responsible for.
Protected methodDispose(Boolean)
Takes care of freeing the managed and unmanaged resources that this class is responsible for.
Public methodEnlist
Enlist the IDbCommand in the current ITransaction.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Finalizer that ensures the object is correctly disposed of.
(Overrides Object..::..Finalize()()()().)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRegisterSynchronization
Public methodRollback
Rolls back the ITransaction by calling the method Rollback on the underlying IDbTransaction.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Extension Methods

  NameDescription
Public Extension MethodAs<(Of <<'(T>)>>) (Defined by TypeHelperExtensionMethods.)
Public Extension MethodIsBetween
Apply a "between" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(array<Object>[]()[][])Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(ICollection)Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsProxy (Defined by NHibernateProxyHelper.)
Public Extension MethodToTypeParameters (Defined by ReflectHelper.)

Properties

  NameDescription
Public propertyIsActive
Public propertyIsolationLevel
Public propertyWasCommitted
Gets a Boolean indicating if the transaction was committed.
Public propertyWasRolledBack
Gets a Boolean indicating if the transaction was rolled back.

See Also