Search Results for

    Show / Hide Table of Contents

    Class ModelActionContext

    Represents the main context a ModelAction operates on. A ModelActionContext must provide at least an instance of DataContext, a list of EntityObject to operation on (may be empty) and an instance of ModelActionParameterDefinition.

    Inheritance
    System.Object
    ModelActionContext
    ExecutionContext
    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
    In This Article
    Back to top Copyright © 2020 software architects gmbh