Class RepositoryTransaction
Represents information about a transaction performed by the repository to commit and version items
Inheritance
System.Object
RepositoryTransaction
Namespace: Algenta.Colectica.Model.Repository
Assembly: Algenta.Colectica.Model.dll
Syntax
public class RepositoryTransaction : object
Constructors
RepositoryTransaction()
Initializes a new instance of the RepositoryTransaction class.
Declaration
public RepositoryTransaction()
Properties
Created
The timestamp when the transaction was created
Declaration
public DateTime Created { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
ItemCount
Number of user added items to this transaction
Declaration
public int ItemCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Modified
The timestamp when the transaction was last modified
Declaration
public DateTime Modified { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
PropagatedItemCount
Number of items added by the repository for version propagation
Declaration
public int PropagatedItemCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Status
Gets or sets the status of a transaction
Declaration
public RepositoryTransactionStatus Status { get; set; }
Property Value
Type | Description |
---|---|
RepositoryTransactionStatus |
TotalItemCount
Total number of items registered by this transaction
Declaration
public int TotalItemCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
TransactionId
Transaction identifier
Declaration
public long TransactionId { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
TransactionType
Gets or sets the type of transaction that should be performed by the repository.
Declaration
public RepositoryTransactionType TransactionType { get; set; }
Property Value
Type | Description |
---|---|
RepositoryTransactionType |
Username
The user who owns the transaction
Declaration
public string Username { get; set; }
Property Value
Type | Description |
---|---|
System.String |