From 5d5533b232f62c3c7dfa64f89720f8d46e5afedc Mon Sep 17 00:00:00 2001 From: Kathy Date: Tue, 27 Aug 2013 15:52:51 +0000 Subject: [PATCH] Cleanup for getting Counts of associated objects. --- PROMS/VEPROMS.CSLA.Library/Generated/Content.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PROMS/VEPROMS.CSLA.Library/Generated/Content.cs b/PROMS/VEPROMS.CSLA.Library/Generated/Content.cs index aaf11bd9..380bb80a 100644 --- a/PROMS/VEPROMS.CSLA.Library/Generated/Content.cs +++ b/PROMS/VEPROMS.CSLA.Library/Generated/Content.cs @@ -556,6 +556,8 @@ namespace VEPROMS.CSLA.Library get { CanReadProperty("ContentRoUsageCount", true); + if (_ContentRoUsageCount < 0) + _ContentRoUsageCount = ContentRoUsages.Count; return _ContentRoUsageCount; } } @@ -593,6 +595,8 @@ namespace VEPROMS.CSLA.Library get { CanReadProperty("ContentTransitionCount", true); + if (_ContentTransitionCount < 0) + _ContentTransitionCount = ContentTransitions.Count; return _ContentTransitionCount; } }