From ea316393048547eaa09b6f0987237aab8ca3b713 Mon Sep 17 00:00:00 2001 From: Sebastien Ros Date: Sat, 4 May 2013 10:34:50 -0700 Subject: [PATCH] Eagerly loading WorkflowDefinitionRecords --HG-- branch : 1.x --- .../Orchard.Workflows/Models/WorkflowDefinitionRecord.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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