MonoSoftware.MonoX.DAL.EntityClasses.NewsCategoryEntity.CreateMemberEntityCollectionsQueue C# (CSharp) Method

CreateMemberEntityCollectionsQueue() protected method

Creates the member entity collections queue.
protected CreateMemberEntityCollectionsQueue ( Queue collectionsQueue, Queue requiredQueue ) : void
collectionsQueue Queue The collections queue.
requiredQueue Queue The required queue.
return void
        protected override void CreateMemberEntityCollectionsQueue(Queue<IEntityCollection2> collectionsQueue, Queue<bool> requiredQueue)
        {
            base.CreateMemberEntityCollectionsQueue(collectionsQueue, requiredQueue);
            collectionsQueue.Enqueue(requiredQueue.Dequeue() ? new EntityCollection<NewsCategoryEntity>(EntityFactoryCache2.GetEntityFactory(typeof(NewsCategoryEntityFactory))) : null);
            collectionsQueue.Enqueue(requiredQueue.Dequeue() ? new EntityCollection<NewsCategoryInRoleEntity>(EntityFactoryCache2.GetEntityFactory(typeof(NewsCategoryInRoleEntityFactory))) : null);
            collectionsQueue.Enqueue(requiredQueue.Dequeue() ? new EntityCollection<NewsCategoryLocalizationEntity>(EntityFactoryCache2.GetEntityFactory(typeof(NewsCategoryLocalizationEntityFactory))) : null);
            collectionsQueue.Enqueue(requiredQueue.Dequeue() ? new EntityCollection<NewsItemEntity>(EntityFactoryCache2.GetEntityFactory(typeof(NewsItemEntityFactory))) : null);
            collectionsQueue.Enqueue(requiredQueue.Dequeue() ? new EntityCollection<SnRelationshipEntity>(EntityFactoryCache2.GetEntityFactory(typeof(SnRelationshipEntityFactory))) : null);
        }