/// <summary>Gets the member collections queue from the queue (base first)</summary>
 /// <param name="collectionsQueue">The collections queue.</param>
 protected override void GetFromMemberEntityCollectionsQueue(Queue<IEntityCollection2> collectionsQueue)
 {
     base.GetFromMemberEntityCollectionsQueue(collectionsQueue);
     this._products = (EntityCollection<ProductEntity>) collectionsQueue.Dequeue();
 }
 /// <summary>Gets the member collections queue from the queue (base first)</summary>
 /// <param name="collectionsQueue">The collections queue.</param>
 protected override void GetFromMemberEntityCollectionsQueue(Queue<IEntityCollection2> collectionsQueue)
 {
     base.GetFromMemberEntityCollectionsQueue(collectionsQueue);
     this._orderDetails = (EntityCollection<OrderDetailEntity>) collectionsQueue.Dequeue();
 }
 protected CategoryEntity(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     if(SerializationHelper.Optimization != SerializationOptimization.Fast)
     {
         _products = (EntityCollection<ProductEntity>)info.GetValue("_products", typeof(EntityCollection<ProductEntity>));
         this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance());
     }
     // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
     // __LLBLGENPRO_USER_CODE_REGION_END
 }
 protected OrderEntity(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     if(SerializationHelper.Optimization != SerializationOptimization.Fast)
     {
         _orderDetails = (EntityCollection<OrderDetailEntity>)info.GetValue("_orderDetails", typeof(EntityCollection<OrderDetailEntity>));
         _customer = (CustomerEntity)info.GetValue("_customer", typeof(CustomerEntity));
         if(_customer!=null)
         {
             _customer.AfterSave+=new EventHandler(OnEntityAfterSave);
         }
         _employee = (EmployeeEntity)info.GetValue("_employee", typeof(EmployeeEntity));
         if(_employee!=null)
         {
             _employee.AfterSave+=new EventHandler(OnEntityAfterSave);
         }
         _shipper = (ShipperEntity)info.GetValue("_shipper", typeof(ShipperEntity));
         if(_shipper!=null)
         {
             _shipper.AfterSave+=new EventHandler(OnEntityAfterSave);
         }
         this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance());
     }
     // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
     // __LLBLGENPRO_USER_CODE_REGION_END
 }
 /// <summary>Gets the member collections queue from the queue (base first)</summary>
 /// <param name="collectionsQueue">The collections queue.</param>
 protected override void GetFromMemberEntityCollectionsQueue(Queue<IEntityCollection2> collectionsQueue)
 {
     base.GetFromMemberEntityCollectionsQueue(collectionsQueue);
     this._customerCustomerDemos = (EntityCollection<CustomerCustomerDemoEntity>) collectionsQueue.Dequeue();
 }
 /// <summary>Gets the member collections queue from the queue (base first)</summary>
 /// <param name="collectionsQueue">The collections queue.</param>
 protected override void GetFromMemberEntityCollectionsQueue(Queue<IEntityCollection2> collectionsQueue)
 {
     base.GetFromMemberEntityCollectionsQueue(collectionsQueue);
     this._territories = (EntityCollection<TerritoryEntity>) collectionsQueue.Dequeue();
 }
 protected TerritoryEntity(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     if(SerializationHelper.Optimization != SerializationOptimization.Fast)
     {
         _employeeTerritories = (EntityCollection<EmployeeTerritoryEntity>)info.GetValue("_employeeTerritories", typeof(EntityCollection<EmployeeTerritoryEntity>));
         _region = (RegionEntity)info.GetValue("_region", typeof(RegionEntity));
         if(_region!=null)
         {
             _region.AfterSave+=new EventHandler(OnEntityAfterSave);
         }
         this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance());
     }
     // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
     // __LLBLGENPRO_USER_CODE_REGION_END
 }
 /// <summary>Gets the member collections queue from the queue (base first)</summary>
 /// <param name="collectionsQueue">The collections queue.</param>
 protected override void GetFromMemberEntityCollectionsQueue(Queue<IEntityCollection2> collectionsQueue)
 {
     base.GetFromMemberEntityCollectionsQueue(collectionsQueue);
     this._employees = (EntityCollection<EmployeeEntity>) collectionsQueue.Dequeue();
     this._employeeTerritories = (EntityCollection<EmployeeTerritoryEntity>) collectionsQueue.Dequeue();
     this._orders = (EntityCollection<OrderEntity>) collectionsQueue.Dequeue();
 }