diff --git a/src/Orchard.Web/Modules/Orchard.Workflows/Models/WorkflowDefinitionRecord.cs b/src/Orchard.Web/Modules/Orchard.Workflows/Models/WorkflowDefinitionRecord.cs index 939d57c40..ab585ca4d 100644 --- a/src/Orchard.Web/Modules/Orchard.Workflows/Models/WorkflowDefinitionRecord.cs +++ b/src/Orchard.Web/Modules/Orchard.Workflows/Models/WorkflowDefinitionRecord.cs @@ -28,7 +28,7 @@ namespace Orchard.Workflows.Models { /// /// List of composing this workflow definition. /// - [CascadeAllDeleteOrphan] + [CascadeAllDeleteOrphan, Aggregate] public virtual IList ActivityRecords { get; set; } /// @@ -37,13 +37,13 @@ namespace Orchard.Workflows.Models { /// any connection an any time of the design process, though they should /// be synchronized. /// - [CascadeAllDeleteOrphan] + [CascadeAllDeleteOrphan, Aggregate] public virtual IList TransitionRecords { get; set; } /// /// List of associated with this workflow definition. /// - [CascadeAllDeleteOrphan] + [CascadeAllDeleteOrphan, Aggregate] public virtual IList WorkflowRecords { get; set; } } } \ No newline at end of file