Click or drag to resize

AccessCallContext Class

The class contains the context of an invokation of an AccessModifier.
Inheritance Hierarchy
SystemObject
  Omada.OE.ModelAccessCallContext

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public class AccessCallContext

The AccessCallContext type exposes the following members.

Properties
  NameDescription
Public propertyAppliedLoadOptionsAccessModifier
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.
Public propertyCustomerId
Contains the Id of the customer (e.g. company) that the calling user belongs to.
Public propertyDbConnection
Contains the database connection that the call is executed in.
Public propertyDbTransaction
Contains the database transaction that the call is executed in. The transaction should never be committed or rolled back.
Public propertyFactory
The factory can be used to create controller instances running on the connection/transaction that the call is executed in.
Public propertyUserId
Contains the id of the user who performs the call.
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also