CodeMethodInvokeContext Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class CodeMethodInvokeContext
The CodeMethodInvokeContext type exposes the following members.
Name | Description | |
---|---|---|
![]() | CodeMethodInvokeContext |
Constructor for a CodeMethodInvokeContext object.
|
Name | Description | |
---|---|---|
![]() | ActionObject |
Contains the action data object that the code method is invoked on.
Depending on how the code method has been configured this can be a normal data object, a process or an activity.
It doesn't always contains all versions - check EventController logic
|
![]() | ActionObjectId |
Contains the id of the action data object that the code method is invoked on.
Depending on how the code method has been configured this can be a normal data object id, a process id or an activity id.
|
![]() | CustomerId |
Contains the Id of the customer (e.g. company) that the calling user belongs to.
|
![]() | DbConnection |
Contains the database connection that the call is executed in.
|
![]() | DbTransaction |
Contains the database transaction that the call is executed in.
|
![]() | Factory |
The factory can be used to create controller instances running on the connection/transaction that the call is executed in.
|
![]() | UserId |
Contains the id of the user who invoked the code method.
|
Name | Description | |
---|---|---|
![]() | ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) |
![]() | ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) |
![]() | ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |