コード例 #1
0
        protected HealthPlanCallQueueCriteriaAssignmentEntity(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            if (SerializationHelper.Optimization != SerializationOptimization.Fast)
            {
                _callQueue = (CallQueueEntity)info.GetValue("_callQueue", typeof(CallQueueEntity));
                if (_callQueue != null)
                {
                    _callQueue.AfterSave += new EventHandler(OnEntityAfterSave);
                }
                _callQueueCustomer = (CallQueueCustomerEntity)info.GetValue("_callQueueCustomer", typeof(CallQueueCustomerEntity));
                if (_callQueueCustomer != null)
                {
                    _callQueueCustomer.AfterSave += new EventHandler(OnEntityAfterSave);
                }
                _healthPlanCallQueueCriteria = (HealthPlanCallQueueCriteriaEntity)info.GetValue("_healthPlanCallQueueCriteria", typeof(HealthPlanCallQueueCriteriaEntity));
                if (_healthPlanCallQueueCriteria != null)
                {
                    _healthPlanCallQueueCriteria.AfterSave += new EventHandler(OnEntityAfterSave);
                }

                base.FixupDeserialization(FieldInfoProviderSingleton.GetInstance());
            }

            // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
            // __LLBLGENPRO_USER_CODE_REGION_END
        }
コード例 #2
0
 /// <summary> setups the sync logic for member _healthPlanCallQueueCriteria</summary>
 /// <param name="relatedEntity">Instance to set as the related entity of type entityType</param>
 private void SetupSyncHealthPlanCallQueueCriteria(IEntity2 relatedEntity)
 {
     if (_healthPlanCallQueueCriteria != relatedEntity)
     {
         DesetupSyncHealthPlanCallQueueCriteria(true, true);
         _healthPlanCallQueueCriteria = (HealthPlanCallQueueCriteriaEntity)relatedEntity;
         base.PerformSetupSyncRelatedEntity(_healthPlanCallQueueCriteria, new PropertyChangedEventHandler(OnHealthPlanCallQueueCriteriaPropertyChanged), "HealthPlanCallQueueCriteria", NoShowCallQueueCriteriaAssignmentEntity.Relations.HealthPlanCallQueueCriteriaEntityUsingCriteriaId, true, new string[] {  });
     }
 }
コード例 #3
0
        /// <summary> Initializes the class members</summary>
        protected virtual void InitClassMembers()
        {
            _healthPlanCallQueueCriteria = null;
            _noShowCallQueue             = null;

            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }
コード例 #4
0
 /// <summary> Removes the sync logic for member _healthPlanCallQueueCriteria</summary>
 /// <param name="signalRelatedEntity">If set to true, it will call the related entity's UnsetRelatedEntity method</param>
 /// <param name="resetFKFields">if set to true it will also reset the FK fields pointing to the related entity</param>
 private void DesetupSyncHealthPlanCallQueueCriteria(bool signalRelatedEntity, bool resetFKFields)
 {
     base.PerformDesetupSyncRelatedEntity(_healthPlanCallQueueCriteria, new PropertyChangedEventHandler(OnHealthPlanCallQueueCriteriaPropertyChanged), "HealthPlanCallQueueCriteria", NoShowCallQueueCriteriaAssignmentEntity.Relations.HealthPlanCallQueueCriteriaEntityUsingCriteriaId, true, signalRelatedEntity, "NoShowCallQueueCriteriaAssignment", resetFKFields, new int[] { (int)NoShowCallQueueCriteriaAssignmentFieldIndex.CriteriaId });
     _healthPlanCallQueueCriteria = null;
 }