zoukankan      html  css  js  c++  java
  • ADO.NET Entity Framework

    作为下一代 ADO.NET 3.0 的开发框架,Entity Framework 让我们从复杂的关系数据模型中解脱出来,使用更加符合面向对象的实体数据模型(Entity Data Model)来完成业务设计和开发。
    Entity Framework 很像 NHibernate,同样采取 XML 进行映射。不过借助于强大的可视化设计工具和向导,我们可以非常方便地完成这些头疼的工作。 Entity Framework  对 Linq 的直接支持 —— LINQ to Entities
    Entity Framework Features:

    1. Entity Designer
    • Generate a model from a database (via wizard) and display it on the designer surface
    • Edit conceptual model properties (namespace, alias, etc.)
    • Control visual aspects of the design surface (layout) and persist changes
    • Add, Delete, and Edit Entities; Scalar properties; Associations; and Inheritance
    • Automatic set management
    • Automatic Navigation property management
    • Error reporting
    • Validate model and mappings using Entity Framework Runtime
    2. Entity Mapping
    • View the mapping for a C-Side Entity or Association
    • Rename or delete C-Side objects without worrying about mapping
    • Map an EntityType to multiple tables
    • Apply multiple conditions to a table mapping
    • Map associations
    • Automatic generation of conditions and referential constraints on associations
    • TPH: Map an Entity hierarchy to a single table
    • TPT: Map an Entity hierarchy to multiple tables
    3. Entity Model Browser
    • Understand and visualize the model in a tree hierarchy
    • Visually relate shapes on the designer surface with hierarchy in model
    4. Visual Studio Integration
    • Support for C# and VB in multiple project types: ASP.NET Web site, ASP.NET Web Application Project, Console, WinForms, and Library
    • Project system integration: item template for .edmx file, model generation wizard, EdmxDeploy.exe, and Entity Framework validation on build
    • Support for multiple Visual Studio editions: Express, Standard, Pro, and VSTS.

    ADO.NET team blog

    欢迎大家扫描下面二维码成为我的客户,为你服务和上云

  • 相关阅读:
    演示使用Metasploit入侵Windows
    Metasploit的基本使用
    安装使用lynis扫描Linux的安全漏洞
    使用Metasploit收集邮箱信息
    Kali Linux:使用nmap扫描主机
    Kali Linux安装SSH Server
    【转】PHP 无限级分类(递归)
    【转】Mysql only_full_group_by以及其他关于sql_mode原因报错详细解决方案
    ERROR 1366 (HY000): Incorrect string value: 'xADxE5x9BxBDxE9x82...' fo的解决方法
    深入理解HTTP协议
  • 原文地址:https://www.cnblogs.com/shanyou/p/1047831.html
Copyright © 2011-2022 走看看