예제 #1
0
        /// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _organSystemOrgans = new EPICCentralDL.CollectionClasses.OrganSystemOrganCollection();
            _organSystemOrgans.SetContainingEntityInfo(this, "Organ");

            _severities = new EPICCentralDL.CollectionClasses.SeverityCollection();
            _severities.SetContainingEntityInfo(this, "Organ");
            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }
예제 #2
0
        /// <summary>Private CTor for deserialization</summary>
        /// <param name="info"></param>
        /// <param name="context"></param>
        protected OrganEntity(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            _organSystemOrgans               = (EPICCentralDL.CollectionClasses.OrganSystemOrganCollection)info.GetValue("_organSystemOrgans", typeof(EPICCentralDL.CollectionClasses.OrganSystemOrganCollection));
            _alwaysFetchOrganSystemOrgans    = info.GetBoolean("_alwaysFetchOrganSystemOrgans");
            _alreadyFetchedOrganSystemOrgans = info.GetBoolean("_alreadyFetchedOrganSystemOrgans");

            _severities               = (EPICCentralDL.CollectionClasses.SeverityCollection)info.GetValue("_severities", typeof(EPICCentralDL.CollectionClasses.SeverityCollection));
            _alwaysFetchSeverities    = info.GetBoolean("_alwaysFetchSeverities");
            _alreadyFetchedSeverities = info.GetBoolean("_alreadyFetchedSeverities");
            this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance(), PersistenceInfoProviderSingleton.GetInstance());
            // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
            // __LLBLGENPRO_USER_CODE_REGION_END
        }