What is EF? (EF basic series 2) What is ef?

Source: Internet
Author: User
Tags in domain

What is EF? (EF basic series 2) What is ef?
Background of EF: Write ADO. NET data access code is dull and boring, so Microsoft provides an object relationship ing framework (EF ), EF can automatically help our program to generate related database activities. Definition of EF: EF is a framework for object relationship ing. It ensures that programmers use relevant data as special objects in the field and reduces the number of code programmers write to access the database. Developers use LINQ to query, retrieve, and manipulate data for processing by strong objects. The EF framework provides change tracking, identity recognition, lazy loading, and query conversion, so developers can focus on the logic code in their programs, rather than the data access basics. Three application scenarios of EF: 1. generate related classes based on existing databases; 2. generate a database based on related fields. 3. in a visual designer, you can create classes and databases;

 

What is O/RM? ORM is a tool that automatically stores data in domain objects in databases (such as ms SQL Server) without requiring many programming. O/RM contains three main parts: 1. domain objects 2. relational Database Object 3. ing information (how to map domain objects to database objects [tables, views, stored procedures ]?) ORM allows us to separate the database design from the domain design to ensure the maintainability and scalability of the program. ORM also automatically helps us generate additional, query, modify, and delete operations, so we don't have to write it manually.

 

Tips: to learn more about ORM technology, visit this link: Object-relational MappingORM Framework Classification: Well, EF's introduction is over. I think it's good to keep updating later. You can like it. Your support is the motivation for me to move forward!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.