使用ado.net实体模型和MEF的n层架构是什么样的 [英] what does an n-tier architecture using ado.net entity model and MEF look like

查看:100
本文介绍了使用ado.net实体模型和MEF的n层架构是什么样的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,如果标准的n层架构看起来像这样

网页
巴尔
DLL
数据源

解决方案

实体框架只是访问数据的一种方式,因此它属于DAL数据访问层. MEF用于业务层.


ok so if a standard n-tier architecture looks like this

Web
BAL
DLL
Datasource

what does an n-tier architecture using ado.net entity model and MEF look like..?

解决方案

Entity Framework is just a means of accessing the data, so it falls within the DAL, Data Access Layer. MEF is used is in the business layer.


这篇关于使用ado.net实体模型和MEF的n层架构是什么样的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆