Share via


Transaction Class

Represents any master data changes along with user and time information that is associated with the change.

Inheritance Hierarchy

System.Object
  Microsoft.MasterDataServices.DataContractBase
    Microsoft.MasterDataServices.Transaction

Namespace:  Microsoft.MasterDataServices
Assembly:  Microsoft.MasterDataServices (in Microsoft.MasterDataServices.dll)

Syntax

'Declaration
<DataContractAttribute(Name := "Transaction", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public Class Transaction _
    Inherits DataContractBase
'Usage
Dim instance As Transaction
[DataContractAttribute(Name = "Transaction", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public class Transaction : DataContractBase
[DataContractAttribute(Name = L"Transaction", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public ref class Transaction : public DataContractBase
[<DataContractAttribute(Name = "Transaction", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type Transaction =  
    class
        inherit DataContractBase
    end
public class Transaction extends DataContractBase

The Transaction type exposes the following members.

Constructors

  Name Description
Public method Transaction Initializes a new instance of the Transaction class.

Top

Properties

  Name Description
Public property AttributeId Gets or sets the ID of the attribute updated in the transaction (if applicable).
Public property Date Gets or sets the date and time of the transaction.
Public property EntityId Gets or sets the ID of the entity that is updated in the transaction.
Public property ExplicitHierarchyId Gets or sets of the explicit hierarchy that is updated in the transaction (if applicable).
Public property ExtensionData Gets or sets the structure that contains extra data. (Inherited from DataContractBase.)
Public property Id Gets or sets the ID of the transaction.
Public property MemberId Gets or sets of the master data member that is updated in the transaction.
Public property MemberType Gets or sets the ID of the associated member.
Public property ModelId Gets or sets the ID of the model that is updated in the transaction.
Public property NewValue Gets or sets the new value created by the transaction.
Public property PriorValue Gets or sets the old value that is replaced by the transaction.
Public property TransactionType Gets or sets the type of the transaction.
Public property UserId Gets or sets the ID of the user who created the transaction.
Public property VersionId Gets or sets the ID of the version that is updated in the transaction.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.MasterDataServices Namespace