diff --git a/PROMS/VEPROMS.CSLA.Library/Generated/StageInfoList.cs b/PROMS/VEPROMS.CSLA.Library/Generated/StageInfoList.cs index 1d991e0e..5e2d43fd 100644 --- a/PROMS/VEPROMS.CSLA.Library/Generated/StageInfoList.cs +++ b/PROMS/VEPROMS.CSLA.Library/Generated/StageInfoList.cs @@ -19,6 +19,7 @@ using System.ComponentModel; using System.Collections.Generic; namespace VEPROMS.CSLA.Library { + public delegate void StageInfoListEvent(); /// /// StageInfoList Generated by MyGeneration using the CSLA Object Mapping template /// @@ -26,6 +27,12 @@ namespace VEPROMS.CSLA.Library [TypeConverter(typeof(StageInfoListConverter))] public partial class StageInfoList : ReadOnlyListBase, ICustomTypeDescriptor, IDisposable { + public static event StageInfoListEvent ListChanged; + private static void OnListChanged() + { + if (ListChanged != null) + ListChanged(); + } #region Log4Net private static readonly log4net.ILog _MyLog = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); #endregion @@ -70,6 +77,7 @@ namespace VEPROMS.CSLA.Library StageInfo.AddList(tmp); tmp.AddEvents(); _StageInfoList = tmp; + OnListChanged(); return tmp; } catch (Exception ex)