/// <summary> setups the sync logic for member _noShowCallQueue</summary> /// <param name="relatedEntity">Instance to set as the related entity of type entityType</param> private void SetupSyncNoShowCallQueue(IEntity2 relatedEntity) { if (_noShowCallQueue != relatedEntity) { DesetupSyncNoShowCallQueue(true, true); _noShowCallQueue = (NoShowCallQueueEntity)relatedEntity; base.PerformSetupSyncRelatedEntity(_noShowCallQueue, new PropertyChangedEventHandler(OnNoShowCallQueuePropertyChanged), "NoShowCallQueue", NoShowCallQueueCriteriaAssignmentEntity.Relations.NoShowCallQueueEntityUsingNoShowCallQueueId, true, new string[] { }); } }
/// <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(); }
protected NoShowCallQueueCriteriaAssignmentEntity(SerializationInfo info, StreamingContext context) : base(info, context) { if (SerializationHelper.Optimization != SerializationOptimization.Fast) { _healthPlanCallQueueCriteria = (HealthPlanCallQueueCriteriaEntity)info.GetValue("_healthPlanCallQueueCriteria", typeof(HealthPlanCallQueueCriteriaEntity)); if (_healthPlanCallQueueCriteria != null) { _healthPlanCallQueueCriteria.AfterSave += new EventHandler(OnEntityAfterSave); } _noShowCallQueue = (NoShowCallQueueEntity)info.GetValue("_noShowCallQueue", typeof(NoShowCallQueueEntity)); if (_noShowCallQueue != null) { _noShowCallQueue.AfterSave += new EventHandler(OnEntityAfterSave); } base.FixupDeserialization(FieldInfoProviderSingleton.GetInstance()); } // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor // __LLBLGENPRO_USER_CODE_REGION_END }
/// <summary> Removes the sync logic for member _noShowCallQueue</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 DesetupSyncNoShowCallQueue(bool signalRelatedEntity, bool resetFKFields) { base.PerformDesetupSyncRelatedEntity(_noShowCallQueue, new PropertyChangedEventHandler(OnNoShowCallQueuePropertyChanged), "NoShowCallQueue", NoShowCallQueueCriteriaAssignmentEntity.Relations.NoShowCallQueueEntityUsingNoShowCallQueueId, true, signalRelatedEntity, "NoShowCallQueueCriteriaAssignment", resetFKFields, new int[] { (int)NoShowCallQueueCriteriaAssignmentFieldIndex.NoShowCallQueueId }); _noShowCallQueue = null; }