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