RDIFramework. NET connector 9.14 database connection management (Butler Web) Section,

Source: Internet
Author: User

RDIFramework. NET connector 9.14 database connection management (Butler Web) Section,

RDIFramework. NET development. NET rapid information system development framework

9.14 database connection management-Web Part 

We often see that many software directly put the database connection string in the configuration file under the software execution directory, which directly places the database connection string (whether encrypted or not) on the client. In our framework, we can mount countless different types of databases and store these connection strings in the database through special processing, front-end developers only need to call the corresponding database access interface. It is extremely convenient to change the database server address. shows the main interface for database connection management. All database connections are determined by the "connection name.

 

On the main interface of database connection management, we can add new database connections to meet our business needs. If the database changes, we can also modify the existing connection definitions, you can also delete unnecessary connections.

9.14.1 new database connection

Shows how to add a new database connection. The database "connection type" can be set in the data dictionary. The default value is SqlServer. The modification and deletion operations are similar to other operations.

 

9.14.2 modify Database Connection

The biggest benefit of integrated management of database connections is that all the databases required by the business system can be comprehensively managed and defined here, and then called using the interfaces provided by the framework, achieve unified management of business system database connections. If the database name or IP address is changed, the Business Code does not need to be changed. As long as the connection name defined in database connection management remains the same. You can modify an existing database connection if any change occurs. The interface for modifying the aura library connection is as follows:

9.14.3 delete a database connection

You can delete a database connection that is no longer in use.

Related Articles:

RDIFramework. NET-. NET-based rapid information system development framework-series of directories

Author: EricHu
Source: http://blog.csdn.net/chinahuyong
Email: 406590790@qq.com
QQ communication: 406590790
Framework blog: http://blog.csdn.net/chinahuyong
Http://www.cnblogs.com/huyong
RDIFramework. NET, a. NET-based rapid information system development and integration framework, provides users and developers with the best. Net Framework Deployment Solution.
About the author: Senior Engineer, Information System Project Manager, DBA. Focused on Microsoft platform project architecture, management, and enterprise solutions, with many years of project development and management experience, he has organized and developed multiple large projects for many times, have certain accomplishments in the field of object-oriented, service-oriented, and database. He is mainly engaged in technical development and consulting Based on the RDIFramework. NET Framework. He is mainly engaged in finance, medical and health, railway, telecom, logistics, Iot, manufacturing, retail and other industries.
If you have any questions or suggestions, please kindly advise me!
The copyright of this article is shared by the author and CSDN. You are welcome to repost this article, but you must keep this statement without the author's consent and provide the original article connection clearly on the article page. If there is any problem, you can contact me via email or QQ. Thank you very much.

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.