Table of Contents

Class TriggerArgs

Namespace
TimeCockpit.Data.DataModel.Triggers
Assembly
TimeCockpit.Data.dll

Holds the inserted and deleted collections

public class TriggerArgs
Inheritance
Object
TriggerArgs
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()

Fields

Empty

Empty/default TriggerArgs.

public static readonly TriggerArgs Empty

Field Value

TriggerArgs

Properties

Deleted

Gets the deleted entity objects.

public EntityObject[] Deleted { get; }

Property Value

EntityObject[]

Inserted

Gets the inserted entity objects.

public EntityObject[] Inserted { get; }

Property Value

EntityObject[]

Methods

Create(DataContext, EntityObject[], TriggerExecutionTime, String, Boolean)

Creates the trigger args from a specified list of entity objects.

public static TriggerArgs Create(DataContext context, EntityObject[] entityObjects, TriggerExecutionTime execTime, string includeClause = null, bool autoIncludeRelations = true)

Parameters

context DataContext

The context.

entityObjects EntityObject[]

The entity objects.

execTime TriggerExecutionTime

The exec time.

includeClause String

Optional include clause.

autoIncludeRelations Boolean

Optional auto include setting.

Returns

TriggerArgs

An instance of TriggerArgs.