Transaction Class

This .NET class wraps the OdTransaction class. Transactions help to extend the limits of operations performed on an object and eliminate conflict errors.
Inheritance Hierarchy
Namespace:  Teigha.DatabaseServices
Assembly:  TD_Mgd (in TD_Mgd.dll) Version: 21.4.0.0
Syntax
public class Transaction : RXObject

The Transaction type exposes the following members.

Constructors
  Name Description
Protected method Transaction
Initializes a new instance of the Transaction class
Top
Properties
  Name Description
Public property AutoDelete (Inherited from DisposableWrapper.)
Public property IsDisposed (Inherited from DisposableWrapper.)
Public property TransactionManager
Represents the transaction manager associated with this transaction.
Public property UnmanagedObject (Inherited from DisposableWrapper.)
Top
Methods
  Name Description
Public method Abort
Aborts the currently open transaction. This method initiates a rollback of all changes to objects since the start of the transaction.
Public method AddNewlyCreatedDBObject
Adds a newly created database record object.
Public method Clone (Inherited from RXObject.)
Public method Commit
Commits the changes made in all objects opened during the transaction, and then closes them.
Public method CompareTo (Inherited from RXObject.)
Public method CopyFrom (Inherited from RXObject.)
Public method CreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Protected method DeleteUnmanagedObject (Overrides RXObjectDeleteUnmanagedObject.)
Public method Dispose (Inherited from DisposableWrapper.)
Protected method Dispose(Boolean) (Inherited from DisposableWrapper.)
Public method Equals (Inherited from DisposableWrapper.)
Protected method Finalize (Inherited from DisposableWrapper.)
Public method GetAllObjects
Retrieves all objects that are open in this transaction.
Public method GetHashCode (Inherited from DisposableWrapper.)
Public method GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public method GetObject(ObjectId, OpenMode)
Calls the OpenObject() method of the underlaying C++ object, for the passed id within the specified open mode.
Public method GetObject(ObjectId, OpenMode, Boolean)
Calls the OpenObject() method of the underlaying C++ object for the passed id within the specified open mode.
Public method GetObject(ObjectId, OpenMode, Boolean, Boolean)
Calls the OpenObject() method of the underlaying C++ object for the passed id within the specified open mode.
Public method GetRXClass (Inherited from RXObject.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public method QueryX (Inherited from RXObject.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public method X (Inherited from RXObject.)
Top
See Also

©  Bricsys NV. All rights reserved.