What is Orm?

Source: Internet
Author: User

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.

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.