Table of Contents

Class CommandLogContext

Namespace
Dynamicweb.CoreUI.Data.CommandLog
Assembly
Dynamicweb.CoreUI.dll
public class CommandLogContext
Inheritance
CommandLogContext
Inherited Members

Constructors

CommandLogContext()

public CommandLogContext()

Properties

CommandRelations

public Collection<CommandLogModelRelation> CommandRelations { get; }

Property Value

Collection<CommandLogModelRelation>

ModelType

public Type? ModelType { get; set; }

Property Value

Type

Methods

AddRelation(string)

public void AddRelation(string id)

Parameters

id string

AddRelation<TModel, TSecondary>(string, string)

public void AddRelation<TModel, TSecondary>(string modelId, string secondaryId) where TModel : DataViewModelBase where TSecondary : DataViewModelBase

Parameters

modelId string
secondaryId string

Type Parameters

TModel
TSecondary

AddRelation<TModel, TSecondary>(string, string, bool)

public void AddRelation<TModel, TSecondary>(string modelId, string secondaryId, bool twoWayRelation) where TModel : DataViewModelBase where TSecondary : DataViewModelBase

Parameters

modelId string
secondaryId string
twoWayRelation bool

Type Parameters

TModel
TSecondary

SetModelType<T>()

public void SetModelType<T>() where T : DataViewModelBase

Type Parameters

T
To top