对于数据层(DAL)---Data Access Layer:来说,要添加,实体层(Entity/Model)的引用,
对于业务层(BLL)---Business Logic Layer:要添加,数据层(DAL)和实体层(Entity/Model)的引用。
对于表现层(UI)---User Interface:要添加业务层(BLL)和实体层的引用(Model/Entity)
这是一个三层的模型,顾客去酒店吃饭,按照菜单(Model),点菜,然后服务员拿着菜单(Model),去找厨师(BLL),厨师嘱咐采购(DAL)的按照菜单去买材料,采购(DAL)的去菜市场(数据库)买菜。采购(DAL)买菜回来之后,给厨师处理(BLL),厨师做好菜,交给服务员(UI)。这时顾客就吃到饭菜了。