Views: 4.6K
Replies: 0
Archived
|
Patterns in Action - is it scalable?In the facade class of the service layer project (ActionService.cs), there are multiple static data access objects
My question is, if I have a project with over 100 entities, will performance degrade if I'm gonna have over 100 of these static data access objects in my facade class? private static readonly ICategoryDao _categoryDao = DataAccess.CategoryDao; private static readonly IProductDao _productDao = DataAccess.ProductDao; private static readonly ICustomerDao _customerDao = DataAccess.CustomerDao; private static readonly IOrderDao _orderDao = DataAccess.OrderDao; private static readonly IOrderDetailDao _orderDetailDao = DataAccess.OrderDetailDao; Parity Bit, Oct 18, 2012
|