检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]杭州电子科技大学信息与控制研究所,浙江杭州310018
出 处:《现代电子技术》2014年第24期5-8,共4页Modern Electronics Technique
摘 要:Entity Framework技术因其灵活、开发周期短等优点,被广泛运用到.NET平台开发中。基于Entity Framework框架设计一个典型MVC架构中的数据库访问层,运用Entity Framework框架中的Code First方式结合泛型、封装、单例模式等技术,实现实体类映射到数据库表并自动往数据库建表的功能,并对每个实体类自动向外发布了增、删、改、查4种操作方法,编译成DLL库文件以插件的形式供业务逻辑层调用,达到与业务逻辑和数据库完全解耦。Entity Framework technology is widely used in .NET platform development due to its flexibility,short develop?ment cycle and other advantages. A database access layer in typical MVC architecture was designed based on Entity Framework. The Code First mode in Entity Framework combined with a generic framework,packaging,single?case model and other technolo?gies is used to realize the entity classes mapping to database tables and generate the database tables automatically. The opera?tions of addition,deletion,update and selection are released to each entity class automatically. The DLL library files are com?piled for the business logic layer call in the form of plug?in to achieve the complete decoupling of business logic and database.
分 类 号:TN911-34[电子电信—通信与信息系统] TP392[电子电信—信息与通信工程]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.116.42.179