EnterpriseOneTransaction Constructor |
Namespace:
Aloe.EnterpriseOne.Model.Core
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic EnterpriseOneTransaction(
BasePersistenceProvider source,
IDataSource dataSource,
string name = null,
string applicationName = null,
string userName = null,
Nullable<Guid> userId = null,
Nullable<Guid> enterpriseCompanyId = null,
Nullable<Guid> enterpriseCompanyLocationId = null,
Nullable<Guid> roleId = null,
IBuffer primaryBuffer = null,
bool dontUseExternalDataMode = false
)
Public Sub New (
source As BasePersistenceProvider,
dataSource As IDataSource,
Optional name As String = Nothing,
Optional applicationName As String = Nothing,
Optional userName As String = Nothing,
Optional userId As Nullable(Of Guid) = Nothing,
Optional enterpriseCompanyId As Nullable(Of Guid) = Nothing,
Optional enterpriseCompanyLocationId As Nullable(Of Guid) = Nothing,
Optional roleId As Nullable(Of Guid) = Nothing,
Optional primaryBuffer As IBuffer = Nothing,
Optional dontUseExternalDataMode As Boolean = false
)
public:
EnterpriseOneTransaction(
BasePersistenceProvider^ source,
IDataSource^ dataSource,
String^ name = nullptr,
String^ applicationName = nullptr,
String^ userName = nullptr,
Nullable<Guid^>^ userId = nullptr,
Nullable<Guid^>^ enterpriseCompanyId = nullptr,
Nullable<Guid^>^ enterpriseCompanyLocationId = nullptr,
Nullable<Guid^>^ roleId = nullptr,
IBuffer^ primaryBuffer = nullptr,
bool dontUseExternalDataMode = false
)
new :
source : BasePersistenceProvider *
dataSource : IDataSource *
?name : string *
?applicationName : string *
?userName : string *
?userId : Nullable<Guid> *
?enterpriseCompanyId : Nullable<Guid> *
?enterpriseCompanyLocationId : Nullable<Guid> *
?roleId : Nullable<Guid> *
?primaryBuffer : IBuffer *
?dontUseExternalDataMode : bool
(* Defaults:
let _name = defaultArg name null
let _applicationName = defaultArg applicationName null
let _userName = defaultArg userName null
let _userId = defaultArg userId null
let _enterpriseCompanyId = defaultArg enterpriseCompanyId null
let _enterpriseCompanyLocationId = defaultArg enterpriseCompanyLocationId null
let _roleId = defaultArg roleId null
let _primaryBuffer = defaultArg primaryBuffer null
let _dontUseExternalDataMode = defaultArg dontUseExternalDataMode false
*)
-> EnterpriseOneTransaction
Parameters
- source
- Type: Aloe.EnterpriseOne.Model.CoreBasePersistenceProvider
The repository source provider. - dataSource
- Type: Aloe.SystemFrameworks.Domain.DataAccessIDataSource
The data source. - name (Optional)
- Type: SystemString
The name of the transaction. - applicationName (Optional)
- Type: SystemString
Name of the application that creates the transaction. - userName (Optional)
- Type: SystemString
The current user name. - userId (Optional)
- Type: SystemNullableGuid
The current user Id. - enterpriseCompanyId (Optional)
- Type: SystemNullableGuid
The current enterprise company Id. - enterpriseCompanyLocationId (Optional)
- Type: SystemNullableGuid
The current enterprise company location Id. - roleId (Optional)
- Type: SystemNullableGuid
The current user role Id. - primaryBuffer (Optional)
- Type: Aloe.SystemFrameworks.Domain.DataAccessIBuffer
A buffer in which to store transaction data.
Setting this forces the transaction to go in "External data" mode. - 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.
See Also