1. What is Orm?
Orm, that is, object-relational ing (Object relationship ing), is used to map between a relational database and a business entity object. In this way, when operating business objects, we do not need to deal with complex SQL statements. We only need to perform simple operations on the attributes and methods of objects.
2. Features and overview of ORM in snake. Net:
The snake. NET Framework is designed based on. NET applications. Unlike some other ORM application architectures transplanted to Java, It is designed and developed based on the characteristics of. net.
Snake. net Framework uses a complete dataset architecture (see Figure 2-1-1 ), describes the data structures involved in an application project (including descriptive table structures, keywords, external keywords, and relationships between tables ). And map the associations between data tables, data columns, keywords, and tables described in the dataset architecture to specific business entity objects using specific methods, and implement data access to business entity objects.
3. database connection settings:
The ORM system interacts with the database, and the connection to the database becomes the most important topic. The snake. NET Framework supports the access of business entities to one or more different types of databases. in the framework, you can set the database connection using the configuration file and runtime settings.
Snake. Net allows multiple database configurations in a system at the same time. At the same time, it provides a wide range of support for different types of databases, and almost all mainstream database products can be used currently.