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!