Click or drag to resize

EnterpriseOneTransaction Class

EnterpriseOne implementation of ObjectTransaction.
Represents typed EnterpriseOne transaction.
Inheritance Hierarchy
SystemObject
  Aloe.SystemFrameworks.DomainObjectTransaction
    Aloe.EnterpriseOne.Model.CoreEnterpriseOneTransaction

Namespace:  Aloe.EnterpriseOne.Model.Core
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public class EnterpriseOneTransaction : ObjectTransaction

The EnterpriseOneTransaction type exposes the following members.

Constructors
  NameDescription
Public methodEnterpriseOneTransaction
Initializes a new instance of the EnterpriseOneTransaction class.
Top
Properties
  NameDescription
Public propertyApplicationName
Gets or sets the name of the application that created the transaction.
(Inherited from ObjectTransaction.)
Public propertyApplications
Provides access to the repositories in the Applications namespace.
Public propertyCommunities
Provides access to the repositories in the Communities namespace.
Public propertyCrm
Provides access to the repositories in the Crm namespace.
Public propertyCurrentEnterpriseCompany
Gets the current enterprise company.
Public propertyCurrentEnterpriseCompanyLocation
Gets the current enterprise company location.
Public propertyCurrentUser
Gets the current user associated with this transaction.
Public propertyCurrentUserRole
Gets the current user role.
Public propertyDataSource
Gets the data source.
(Inherited from ObjectTransaction.)
Public propertyExtendedProperties
Extended properties contain temporary (not persisted) values in the object instance.
(Inherited from ObjectTransaction.)
Public propertyExternalDataMode
Gets a value indicating whether the transaction runs in external data mode. In this mode, the primary data buffer is externally linked.
(Inherited from ObjectTransaction.)
Public propertyFinance
Provides access to the repositories in the Finance namespace.
Public propertyGeneral
Provides access to the repositories in the General namespace.
Public propertyLogistics
Provides access to the repositories in the Logistics namespace.
Public propertyPrimaryBuffer
Gets the buffer, which allows low-level access to all data tables and columns
(Inherited from ObjectTransaction.)
Public propertyProduction
Provides access to the repositories in the Production namespace.
Public propertyProjects
Provides access to the repositories in the Projects namespace.
Public propertyRepositorySource
Gets a reference to the primary repository source for the transaction
Public propertySystems
Provides access to the repositories in the Systems namespace.
Public propertyTransactionName
Gets the transaction name. It is used only for identification purposes.
(Inherited from ObjectTransaction.)
Public propertyUserName
Gets or sets the name of the user that created the transaction.
(Inherited from ObjectTransaction.)
Public propertyWms
Provides access to the repositories in the Wms namespace.
Top
Methods
  NameDescription
Public methodClone
Creates a new EnterpriseOneTransaction that is a shallow copy of the current instance. The primary buffer is not copied.
Public methodCommit
Update the data source with the current changes.
(Inherited from ObjectTransaction.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from ObjectTransaction.)
Public methodExecuteRulesForAggregateCommit
Executes the rules for aggregate commit event.
(Inherited from ObjectTransaction.)
Public methodExecuteRulesForCommit
Executes the rules for the given validation event for all objects in the transaction. The validation violations are populated into the event object.
(Inherited from ObjectTransaction.)
Public methodFindFirstOrDefault(Repository, ExpressionFuncDomainObject, Boolean)
Searches through both committed and uncommitted objects for a single object, matching the predicate. Returns null if not found. This variant
(Inherited from ObjectTransaction.)
Public methodFindFirstOrDefaultTObject(ExpressionFuncTObject, Boolean, FuncTObject, Boolean)
Searches through both committed and uncommitted objects for a single object, matching the predicate. Returns null if not found.
(Inherited from ObjectTransaction.)
Public methodFindFirstOrDefaultTObject(Repository, ExpressionFuncTObject, Boolean, FuncTObject, Boolean)
Searches through both committed and uncommitted objects for a single object, matching the predicate. Returns null if not found. This overload could be used if the search requires type casting to intermediate object type.
(Inherited from ObjectTransaction.)
Public methodGetTObject
Searches both the uncommitted and committed objects for the object with the specified type and object id.
(Inherited from ObjectTransaction.)
Public methodGetGhostTObject
Gets the ghost object of the specified entity type.
(Inherited from ObjectTransaction.)
Public methodGetLocalTObject
Searches for locally buffered object with the specified id.
(Inherited from ObjectTransaction.)
Public methodGetLocalObject
Searches for locally buffered object with the specified id.
(Inherited from ObjectTransaction.)
Public methodGetModifiedEntityObjects
Gets the modified entity objects.
(Inherited from ObjectTransaction.)
Public methodGetOrCreateExtendedPropertyTProperty
Gets the or creates an object, which is cached for the duration of the transaction.
(Inherited from ObjectTransaction.)
Public methodGetRegistered
Gets alive object from the object registration list. Returns null if the object is not in the registration list.
(Inherited from ObjectTransaction.)
Public methodLocalQuery(Repository, Boolean)
Allows querying of the local, uncommitted objects in the transaction. This is the untyped overload of the method.
(Inherited from ObjectTransaction.)
Public methodLocalQueryTObject(Boolean)
Allows querying of the local, uncommitted objects in the transaction.
(Inherited from ObjectTransaction.)
Public methodNewTObject
Creates a new object of the specified type.
(Inherited from ObjectTransaction.)
Public methodQueryTObject
Allows querying of the committed objects in the data source.
(Inherited from ObjectTransaction.)
Public methodRollback
Rollbacks all changes made to the transaction since the last Commit
(Inherited from ObjectTransaction.)
Public methodSearchTObject
Searches for objects, matching the predicate in both the committed objects in the data source and the uncommitted objects in the transaction.
(Inherited from ObjectTransaction.)
Public methodToString
Returns a String that represents this instance.
(Inherited from ObjectTransaction.)
Top
Fields
  NameDescription
Public fieldDataAttributeChanged
Fired when data attribute has changed
(Inherited from ObjectTransaction.)
Public fieldDataAttributeChanging
Fired when data attribute is changing
(Inherited from ObjectTransaction.)
Public fieldObjectDeleted
Fired when object is deleted.
(Inherited from ObjectTransaction.)
Public fieldWarningIssued
Fired when a warning is issued
(Inherited from ObjectTransaction.)
Top
Extension Methods
  NameDescription
Public Extension MethodFillMissingDefaults
Executes the late-default expression for each attribute, if the current value is null or equal to a constant default, for all modified entity objects in the transaction.
(Defined by ObjectTransactionExtensions.)
Public Extension MethodGetLoginUserSalesPerson
Gets the sales person of the current login user in the current Enterprise Company. Returns null if the login user is not a sales person.
(Defined by SalesPersonExtensions.)
Top
See Also