MonoSoftware.MonoX.DAL.EntityClasses.PollEntity.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<PollAnswerEntity>(EntityFactoryCache2.GetEntityFactory(typeof(PollAnswerEntityFactory))) : null);
            collectionsQueue.Enqueue(requiredQueue.Dequeue() ? new EntityCollection<PollLocalizationEntity>(EntityFactoryCache2.GetEntityFactory(typeof(PollLocalizationEntityFactory))) : null);
            collectionsQueue.Enqueue(requiredQueue.Dequeue() ? new EntityCollection<SnRelationshipEntity>(EntityFactoryCache2.GetEntityFactory(typeof(SnRelationshipEntityFactory))) : null);
        }