RAFY Domain Entity Framework Example (1) Transforming traditional three-tier applications

Source: Internet
Author: User
Tags new features

Rafy domain Entity Framework released, although there are help documents, many friends still reflect the complexity of learning, hoping to develop a sample program to show how to use the RAFY domain Entity Framework So, this article through the use of Rafy domain Entity Framework to transform a traditional three-tier architecture application-"apparel invoicing "System to explain how to use the RAFY domain Entity Framework for rapid database application development, and to replace some of the new features that come with the use of the Rafy framework.

Full Sample package Download address: Http://pan.baidu.com/s/1AB9TL, which contains the transformation before, after the transformation of the source code, and conversion documentation. (After downloading the sample code, you just need to modify the user name and password in the connection string in the app.config file, you can run the sample directly, the program will automatically create the database and run successfully!) Students who have not yet downloaded the Rafy framework can download the full installation package in the RAFY framework release article. )

Next, we'll show you how to do code conversion and use Rafy to develop a typical database application. (The following content is copied from the PDF document in the sample package.) )

Original Program Description

Considering how to better demonstrate how to use the RAFY framework to develop a traditional management system, decide to choose an open source system for transformation, and this system should be a simple, common three-tier architecture, which is familiar to everyone, so you can understand the use of the framework more quickly.

For a long time on the open source Web site, the free three-tier architecture system is quite large, but many systems are not standard. Some systems are written using a three-tier architecture, but keeps things interesting, foul within, look very formal system, one open source, interface layer code can see directly written SQL statements. Finally, I selected the "well-known clothing invoicing management system", the source code download address:

Http://www.51aspx.com/Code/ZhiMingDuClothesSys

The system three layers of the call is more stringent, the business is very simple.

system Function Description:

Personnel: operator management, supplier management, customer management

Inventory: Inventory management, Stock count

Sales: Apparel sales, clothing returns

Clothing: Apparel category, clothing registration

Sales: Sales statistics, profit statistics

Technical features: The use of three-tier architecture design program, the replacement of the underlying database type is convenient. The system uses Sqllite as a database and can be run directly after downloading.

Screenshot of the interface:

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.