Class ModelActionContext
- Namespace
- TimeCockpit.Data.DataModel.Actions
- Assembly
- TimeCockpit.Data.dll
Represents the main context a ModelAction operates on.
public class ModelActionContext
- Inheritance
-
ObjectModelActionContext
- Derived
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Constructors
ModelActionContext()
public ModelActionContext()
Properties
CurrentUserId
Gets or sets the unique identifier of the user that is currently using the context
public Guid CurrentUserId { get; set; }
Property Value
- Guid
DataContext
Gets or sets the data context of the model action context
public DataContext DataContext { get; set; }
Property Value
IDataContext
Gets or sets the abstract/base IDataContext.
public IDataContext IDataContext { get; set; }
Property Value
ModelEntity
Gets or sets an instance of a model entity to check if a ModelAction can be executed on that model entity.
public ModelEntityBase ModelEntity { get; set; }