Click or drag to resize

ObjectTransaction Constructor

Initializes a new transaction, whose primary buffer will be bound to the specified buffer.

Namespace:  Aloe.SystemFrameworks.Domain
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public ObjectTransaction(
	RepositorySource source,
	IDataSource dataSource,
	string name = null,
	string applicationName = null,
	string userName = null,
	IBuffer primaryBuffer = null,
	bool dontUseExternalDataMode = false
)

Parameters

source
Type: Aloe.SystemFrameworks.DomainRepositorySource
The repository source that will provide the repositories for the objects.
dataSource
Type: Aloe.SystemFrameworks.Domain.DataAccessIDataSource
The data source.
name (Optional)
Type: SystemString
The name of the transaction. Used only for identification purposes.
applicationName (Optional)
Type: SystemString
Name of the application.
userName (Optional)
Type: SystemString
Name of the user.
primaryBuffer (Optional)
Type: Aloe.SystemFrameworks.Domain.DataAccessIBuffer
Specifies, that the transaction should use the specified buffer as its PrimaryBuffer.
dontUseExternalDataMode (Optional)
Type: SystemBoolean
if set to true the transaction will not use external data mode, even when the primary buffer is external. In this case, the primary buffer should not be updated externally to the transaction.
Exceptions
ExceptionCondition
ArgumentNullExceptionParameter "source" should not be null.
See Also