Exemple #1
0
        /// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _calibrations = new EPICCentralDL.CollectionClasses.CalibrationCollection();
            _calibrations.SetContainingEntityInfo(this, "ImageSet");

            _treatments = new EPICCentralDL.CollectionClasses.TreatmentCollection();
            _treatments.SetContainingEntityInfo(this, "ImageSet");

            _treatments_ = new EPICCentralDL.CollectionClasses.TreatmentCollection();
            _treatments_.SetContainingEntityInfo(this, "ImageSet_");
            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }
Exemple #2
0
        /// <summary>Private CTor for deserialization</summary>
        /// <param name="info"></param>
        /// <param name="context"></param>
        protected ImageSetEntity(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            _calibrations               = (EPICCentralDL.CollectionClasses.CalibrationCollection)info.GetValue("_calibrations", typeof(EPICCentralDL.CollectionClasses.CalibrationCollection));
            _alwaysFetchCalibrations    = info.GetBoolean("_alwaysFetchCalibrations");
            _alreadyFetchedCalibrations = info.GetBoolean("_alreadyFetchedCalibrations");

            _treatments               = (EPICCentralDL.CollectionClasses.TreatmentCollection)info.GetValue("_treatments", typeof(EPICCentralDL.CollectionClasses.TreatmentCollection));
            _alwaysFetchTreatments    = info.GetBoolean("_alwaysFetchTreatments");
            _alreadyFetchedTreatments = info.GetBoolean("_alreadyFetchedTreatments");

            _treatments_               = (EPICCentralDL.CollectionClasses.TreatmentCollection)info.GetValue("_treatments_", typeof(EPICCentralDL.CollectionClasses.TreatmentCollection));
            _alwaysFetchTreatments_    = info.GetBoolean("_alwaysFetchTreatments_");
            _alreadyFetchedTreatments_ = info.GetBoolean("_alreadyFetchedTreatments_");
            this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance(), PersistenceInfoProviderSingleton.GetInstance());
            // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
            // __LLBLGENPRO_USER_CODE_REGION_END
        }