Class RepositoryTransactionAddItemsRequest
Add items to an existing transaction
Inherited Members
Namespace: Algenta.Colectica.Model.Repository
Assembly: Algenta.Colectica.Model.dll
Syntax
[DataContract(Namespace = "http://ns.colectica.com/2009/07/")]
public class RepositoryTransactionAddItemsRequest
Constructors
RepositoryTransactionAddItemsRequest()
Create an add request
Declaration
public RepositoryTransactionAddItemsRequest()
RepositoryTransactionAddItemsRequest(RepositoryTransaction)
Create an add request associated with a specific transaction
Declaration
public RepositoryTransactionAddItemsRequest(RepositoryTransaction transaction)
Parameters
Type | Name | Description |
---|---|---|
RepositoryTransaction | transaction |
Properties
Items
Repository items to add to the transaction
Declaration
[DataMember]
public Collection<RepositoryItem> Items { get; set; }
Property Value
Type | Description |
---|---|
Collection<RepositoryItem> |
TransactionId
Transaction identifier
Declaration
[DataMember]
public long TransactionId { get; set; }
Property Value
Type | Description |
---|---|
long |
Methods
AddVersionable(IVersionable)
Add a versionable to the transaction
Declaration
public void AddVersionable(IVersionable versionable)
Parameters
Type | Name | Description |
---|---|---|
IVersionable | versionable |
AddVersionables(IEnumerable<IVersionable>)
Add a list of versionable items to the transaction
Declaration
public void AddVersionables(IEnumerable<IVersionable> versionables)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IVersionable> | versionables |