AccessCallContext Class |
Namespace: Omada.OE.Model
public class AccessCallContext
The AccessCallContext type exposes the following members.
| Name | Description | |
|---|---|---|
| AppliedLoadOptionsAccessModifier |
Holds the access modifier class applied to the data object load options through
IDataObjectAccessModifier.ModifyLoadOptions().
The information can be used in the implementations of
IDataObjectAccessModifier.PrepareAccessCalculation() and IDataObjectAccessModifier.CalculateAccess().
If the same access modifier was applied to the load options then the two methods can typically execute with less effort.
Can be null.
| |
| 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.
The transaction should never be committed or rolled back.
| |
| 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 performs the call.
|
| 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.) |