EnterpriseOneTransaction Methods |
The EnterpriseOneTransaction type exposes the following members.
| Name | Description | |
|---|---|---|
| Clone |
Creates a new EnterpriseOneTransaction that is a shallow copy of the current instance.
The primary buffer is not copied.
| |
| Commit |
Update the data source with the current changes.
(Inherited from ObjectTransaction.) | |
| Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from ObjectTransaction.) | |
| ExecuteRulesForAggregateCommit |
Executes the rules for aggregate commit event.
(Inherited from ObjectTransaction.) | |
| ExecuteRulesForCommit |
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.) | |
| FindFirstOrDefault(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.) | |
| FindFirstOrDefaultTObject(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.) | |
| FindFirstOrDefaultTObject(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.) | |
| GetTObject |
Searches both the uncommitted and committed objects for the object with the specified type and object id.
(Inherited from ObjectTransaction.) | |
| GetGhostTObject |
Gets the ghost object of the specified entity type.
(Inherited from ObjectTransaction.) | |
| GetLocalTObject |
Searches for locally buffered object with the specified id.
(Inherited from ObjectTransaction.) | |
| GetLocalObject |
Searches for locally buffered object with the specified id.
(Inherited from ObjectTransaction.) | |
| GetModifiedEntityObjects |
Gets the modified entity objects.
(Inherited from ObjectTransaction.) | |
| GetOrCreateExtendedPropertyTProperty |
Gets the or creates an object, which is cached for the duration of the transaction.
(Inherited from ObjectTransaction.) | |
| GetRegistered |
Gets alive object from the object registration list. Returns null if the object is not in the registration list.
(Inherited from ObjectTransaction.) | |
| LocalQuery(Repository, Boolean) |
Allows querying of the local, uncommitted objects in the transaction.
This is the untyped overload of the method.
(Inherited from ObjectTransaction.) | |
| LocalQueryTObject(Boolean) |
Allows querying of the local, uncommitted objects in the transaction.
(Inherited from ObjectTransaction.) | |
| NewTObject |
Creates a new object of the specified type.
(Inherited from ObjectTransaction.) | |
| QueryTObject |
Allows querying of the committed objects in the data source.
(Inherited from ObjectTransaction.) | |
| Rollback |
Rollbacks all changes made to the transaction since the last Commit
(Inherited from ObjectTransaction.) | |
| SearchTObject |
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.) | |
| ToString |
Returns a String that represents this instance.
(Inherited from ObjectTransaction.) |
| Name | Description | |
|---|---|---|
| FillMissingDefaults |
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.) | |
| GetLoginUserSalesPerson |
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.) |