Beispiel #1
0
 /// <summary>Creates the member entity collections queue.</summary>
 /// <param name="collectionsQueue">The collections queue.</param>
 /// <param name="requiredQueue">The required queue.</param>
 protected override void CreateMemberEntityCollectionsQueue(Queue <IEntityCollection2> collectionsQueue, Queue <bool> requiredQueue)
 {
     base.CreateMemberEntityCollectionsQueue(collectionsQueue, requiredQueue);
     collectionsQueue.Enqueue(requiredQueue.Dequeue() ? new EntityCollection <ProductEntity>(EntityFactoryCache2.GetEntityFactory(typeof(ProductEntityFactory))) : null);
 }
 /// <summary>Creates the member entity collections queue.</summary>
 /// <param name="collectionsQueue">The collections queue.</param>
 /// <param name="requiredQueue">The required queue.</param>
 protected override void CreateMemberEntityCollectionsQueue(Queue <IEntityCollection2> collectionsQueue, Queue <bool> requiredQueue)
 {
     base.CreateMemberEntityCollectionsQueue(collectionsQueue, requiredQueue);
     collectionsQueue.Enqueue(requiredQueue.Dequeue() ? new EntityCollection <CustomerCustomerDemoEntity>(EntityFactoryCache2.GetEntityFactory(typeof(CustomerCustomerDemoEntityFactory))) : null);
     collectionsQueue.Enqueue(requiredQueue.Dequeue() ? new EntityCollection <OrderEntity>(EntityFactoryCache2.GetEntityFactory(typeof(OrderEntityFactory))) : null);
     collectionsQueue.Enqueue(requiredQueue.Dequeue() ? new EntityCollection <CustomerDemographyEntity>(EntityFactoryCache2.GetEntityFactory(typeof(CustomerDemographyEntityFactory))) : null);
     collectionsQueue.Enqueue(requiredQueue.Dequeue() ? new EntityCollection <EmployeeEntity>(EntityFactoryCache2.GetEntityFactory(typeof(EmployeeEntityFactory))) : null);
     collectionsQueue.Enqueue(requiredQueue.Dequeue() ? new EntityCollection <ShipperEntity>(EntityFactoryCache2.GetEntityFactory(typeof(ShipperEntityFactory))) : null);
 }
Beispiel #3
0
 /// <summary>Creates a new instance of the factory related to this entity</summary>
 protected override IEntityFactory2 CreateEntityFactory()
 {
     return(EntityFactoryCache2.GetEntityFactory(typeof(CategoryEntityFactory)));
 }
 /// <summary>Creates a new instance of the factory related to this entity</summary>
 protected override IEntityFactory2 CreateEntityFactory()
 {
     return(EntityFactoryCache2.GetEntityFactory(typeof(CustomerPredictedZipEntityFactory)));
 }
Beispiel #5
0
 /// <summary>Creates the member entity collections queue.</summary>
 /// <param name="collectionsQueue">The collections queue.</param>
 /// <param name="requiredQueue">The required queue.</param>
 protected override void CreateMemberEntityCollectionsQueue(Queue <IEntityCollection2> collectionsQueue, Queue <bool> requiredQueue)
 {
     base.CreateMemberEntityCollectionsQueue(collectionsQueue, requiredQueue);
     collectionsQueue.Enqueue(requiredQueue.Dequeue() ? new EntityCollection <EligibilityEntity>(EntityFactoryCache2.GetEntityFactory(typeof(EligibilityEntityFactory))) : null);
     collectionsQueue.Enqueue(requiredQueue.Dequeue() ? new EntityCollection <OrganizationRoleUserEntity>(EntityFactoryCache2.GetEntityFactory(typeof(OrganizationRoleUserEntityFactory))) : null);
 }
Beispiel #6
0
 /// <summary>Creates a new instance of the factory related to this entity</summary>
 protected override IEntityFactory2 CreateEntityFactory()
 {
     return(EntityFactoryCache2.GetEntityFactory(typeof(InsuranceCompanyEntityFactory)));
 }
 /// <summary>Creates a new instance of the factory related to this entity</summary>
 protected override IEntityFactory2 CreateEntityFactory()
 {
     return(EntityFactoryCache2.GetEntityFactory(typeof(OrderDetailEntityFactory)));
 }
 /// <summary>Creates a new instance of the factory related to this entity</summary>
 protected override IEntityFactory2 CreateEntityFactory()
 {
     return(EntityFactoryCache2.GetEntityFactory(typeof(ProspectCustomerNotificationEntityFactory)));
 }