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: