/// <summary>Protected CTor for deserialization</summary>
        /// <param name="info"></param>
        /// <param name="context"></param>
        protected ControlSetEntityBase(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            _controlSetColourCollection               = (silverspun.RGBDiff.Dal.CollectionClasses.ControlSetColourCollection)info.GetValue("_controlSetColourCollection", typeof(silverspun.RGBDiff.Dal.CollectionClasses.ControlSetColourCollection));
            _alwaysFetchControlSetColourCollection    = info.GetBoolean("_alwaysFetchControlSetColourCollection");
            _alreadyFetchedControlSetColourCollection = info.GetBoolean("_alreadyFetchedControlSetColourCollection");
            _observerDataSetCollection               = (silverspun.RGBDiff.Dal.CollectionClasses.ObserverDataSetCollection)info.GetValue("_observerDataSetCollection", typeof(silverspun.RGBDiff.Dal.CollectionClasses.ObserverDataSetCollection));
            _alwaysFetchObserverDataSetCollection    = info.GetBoolean("_alwaysFetchObserverDataSetCollection");
            _alreadyFetchedObserverDataSetCollection = info.GetBoolean("_alreadyFetchedObserverDataSetCollection");



            base.FixupDeserialization(FieldInfoProviderSingleton.GetInstance(), PersistenceInfoProviderSingleton.GetInstance());

            // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
            // __LLBLGENPRO_USER_CODE_REGION_END
        }
        /// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _controlSetColourCollection = new silverspun.RGBDiff.Dal.CollectionClasses.ControlSetColourCollection(new ControlSetColourEntityFactory());
            _controlSetColourCollection.SetContainingEntityInfo(this, "ControlSet");
            _alwaysFetchControlSetColourCollection    = false;
            _alreadyFetchedControlSetColourCollection = false;
            _observerDataSetCollection = new silverspun.RGBDiff.Dal.CollectionClasses.ObserverDataSetCollection(new ObserverDataSetEntityFactory());
            _observerDataSetCollection.SetContainingEntityInfo(this, "ControlSet");
            _alwaysFetchObserverDataSetCollection    = false;
            _alreadyFetchedObserverDataSetCollection = false;



            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }