Back to list
Views:   4.6K
Replies:  0

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
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.