Skip to content

Commit

Permalink
added cache warming calls
Browse files Browse the repository at this point in the history
  • Loading branch information
rdrrichards committed May 27, 2017
1 parent 76ade6d commit 15abe9b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions QIQO.Business.Engines/Engines/AccountTypeBusinessEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public AccountTypeBusinessEngine(IDataRepositoryFactory data_repo_fact, ICache c
_cache = cache;
_repo_acct_type = _data_repository_factory.GetDataRepository<IAccountTypeRepository>();
_acct_es = _entity_service_factory.GetEntityService<IAccountTypeEntityService>();
GetTypes();
}


Expand Down
1 change: 1 addition & 0 deletions QIQO.Business.Engines/Engines/AddressTypeBusinessEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public AddressTypeBusinessEngine(IDataRepositoryFactory data_repo_fact, ICache c
_cache = cache;
_repo_addr_type = _data_repository_factory.GetDataRepository<IAddressTypeRepository>();
_addr_es = _entity_service_factory.GetEntityService<IAddressTypeEntityService>();
GetTypes();
}

public AddressType GetTypeByKey(int type)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public AttributeTypeBusinessEngine(IDataRepositoryFactory data_repo_fact, ICache
_cache = cache;
_repo_attr_type = _data_repository_factory.GetDataRepository<IAttributeTypeRepository>();
_attr_type_es = _entity_service_factory.GetEntityService<IAttributeTypeEntityService>();
GetTypes();
}

public AttributeType GetTypeByKey(int type)
Expand Down
1 change: 1 addition & 0 deletions QIQO.Business.Engines/Engines/EntityTypeBusinessEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public EntityTypeBusinessEngine(IDataRepositoryFactory data_repo_fact, ICache ca
{
_cache = cache;
_repo_ent_type = _data_repository_factory.GetDataRepository<IEntityTypeRepository>();
GetTypes();
}

public EntityType GetTypeByKey(int type)
Expand Down
1 change: 1 addition & 0 deletions QIQO.Business.Engines/Engines/OrderStatusBusinessEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public OrderStatusBusinessEngine(IDataRepositoryFactory data_repo_fact, ICache c
_cache = cache;
_order_status_repo = _data_repository_factory.GetDataRepository<IOrderStatusRepository>();
_order_status_es = _entity_service_factory.GetEntityService<IOrderStatusEntityService>();
GetStatuses();
}

public bool DeleteStatus(OrderStatus status)
Expand Down
1 change: 1 addition & 0 deletions QIQO.Business.Engines/Engines/ProductTypeBusinessEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public ProductTypeBusinessEngine(IDataRepositoryFactory data_repo_fact, ICache c
_cache = cache;
_report_prod_type = _data_repository_factory.GetDataRepository<IProductTypeRepository>();
_prod_es = _entity_service_factory.GetEntityService<IProductTypeEntityService>();
GetTypes();
}

public ProductType GetTypeByKey(int type)
Expand Down

0 comments on commit 15abe9b

Please sign in to comment.