Based on. NET platform ORM technology research and application
- Author
- ZhangYanZuo
- Advisor
- WangDong , HouWenYong
- School
- Shanghai Jiaotong University
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 40
- Citations
- 1
Abstract
Today, the main use of object-oriented software development (Object Oriented, OO) design and development methods, as the system complexity continues to increase business and software continues to expand, the objects within the system design and data storage are becoming complex logic ; and OO design and development of business information involved in the object - relationship (OR) between the association also increased the difficulty of converting the object model and relational model between the \and other problems. In the persistence layer system architecture design is an effective way to solve these problems, and ORM (Object-Relation Mapping) technology is a persistence layer for building OO systems technology, its popularity with the OO approach increasingly by software developers and users attention, the technology development has developed a platform based on JAVA, respectively, and. NET platform application framework for the different types. But overall, based on the. NET platform ORM technology is still not mature, and most are based on business value framework for research and development from generic architecture system, so the operating complexity is high, it is difficult to get started, while research and development costs will cause upgrade, so the market has not been widely used. This article has good design and development of a scalable and flexible, based on the. NET platform lightweight ORM persistence layer, and apply it to KTMS (Kerry EAS Transportation Management System) system development, in order to improve research and development in the past encountered in the object model or relationship in the model is changed to one of the other of the corresponding changes in the design of large-scale problem. ORM persistence layer in the MVC architecture but also for the design, to improve the original Model model, the effective realization of the Model Business, logical separation between data and the traditional. NET operate the database using ADO.NET code to bring large, difficult maintenance and reuse of such phenomena to make change, to improve software development efficiency and maintainability. In the project development process, mainly through the entity object persistence, object persistence batch behavior, persistent object proxy, persistence mechanism design class and class hierarchy to build ORM persistence layer components. But also on the OR mapping mode, persistence layer to the business layer and data layer connection, the system objects and their behavior persistence, persistence associated with the object model mapping done a specific implementation and detailed instructions.
Table of contents
Abstract 3-4
ABSTRACT 4-9
1 Introduction 9-16
1.1 research background and significance 9 - 10
1.2 technology is introduced and research status 10-13
1.2.1 ORM persistence layer introduced 10-11
1.2.2 Research 11-13
1.3 thesis content and achieve results 13-14
1.3.1 work done 13-14
1.3.2 fruition 14
1.3.3 innovations 14
1.4 paper structure 14-15
1.5 Summary 15-16
2 ORM technical analysis 16-36
2.1 ORM related model overview 16-24
2.1.1 relational model 16-19
2.1.2 relational database model 19-22
2.1.3 Object Model 22-24
2.2 OR mapping problems and design requirements 24-26
2.2.1 OR mapping problems 24
2.2.2 OR mapping the basic model 24-25
2.2.3 ORM persistence layer design requirements 25 -26
2.3 paper technology roadmap 26-28
2.3.1 using ORM persistence layer technology system architecture 26-27
2.3.2 Mapping Implementation Technology 27-28
2.3.3 Mapping Implementation steps 28
2.4 related patterns, technical brief 28-35
2.4.1. NET platform the MVC pattern 28-30
2.4.2 reflective technology 30-33
2.4.3 asynchronous call technical 33-35
2.5 of this chapter Summary 35-36
3 ORM persistence layer research and design 36-58
3.1 object identifier mapping technology 36-39
3.1.1 Object ID 36-37
3.1.2 Object Identity Mapping technology 37-39
3.2 Object - Relational Model Mapping 39-45
3.2. an association mapping 39-41
3.2.2 inheritance (generalization) mapping 41-45
3.3 ORM persistence layer design 45-57
3.3.1 persistent entity class design 45-46
3.3.2 broker's persistent design 46-47
3.3.3 batch set of objects to achieve 47-48
3.3.4 Cursor class corresponding database design 48-49
3.3.5 transactional persistence design 49-52
3.3 .6 class hierarchy persistence mechanism design 52-54
3.3.7 Mapping Implementation class hierarchy based design 54-55
3.3.8 Structured Query Language Package category level design 55-56
3.3.9 ORM persistence layer architecture integrates 56-57
3.4 Summary 57-58
4 ORM Application Examples 58-73
4.1 system design 58-61
4.1.1 Function module design 58-59
4.1.2 Main Process Design 59-61
4.2 System Architecture 61-64
4.3 ORM persistence layer of the concrete realization 64-71
4.3.1 OR mapping implementation mode 64-65
4.3.2 mapping mechanism 65-68
4.3.3 object persistence operations to achieve 68-70
4.3.4 persistent association mapping to achieve 70-71
4.4 system implementation 71-72
4.5 Chapter Summary 72-73
5 Summary and Planning 73-75
5.1 Summary 73-74
5.2 Planning 74-75
References 75-76
Acknowledgements 76-77
study for a degree of papers published during 77-79
Related dissertations
- Software Design for Control System of Electro-hydraulic Three-axis Flight Simulator
- The Design and Implementation of Website Construction Based on OpenCms Technology
- Design and Implementation of Materials Management System of Multi-level Educational Institutions
- Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System
- The Design and Implementation of Sinopec Sales Co.,Ltd Personnel Management System
- Design and Implementation of Tianhua College Office System
- Universities Fixed Asset Lifecycle Management System Design
- Analysis and design of engineering project management system
- The Design and Implementation of Vehicle Tracking Management System
- Design and Implementation of the Management System of the Service Area
- The Design and Realization of Campus Blog System Based on ASP
- The Design and Implementation of the Ship Agency Management System
- Design and Implementation of Supermarket Chain Chongqing Chongkelong Co Information System
- Design and Implementation of Network Curriculum Teaching Platform for Middle School
- Analysis and design of student information management system
- Design and Implementation of Community Management Sub-System on Police Mobile System
- Chengdu Jinjian Finance Bureau Financial Approval System Design and Implementation
- Chengdu Jinpeng Company’s Human Resource Management System Design and Implementation of Master Dissertation
- The Design and Realization of the Financial Approval System
- The Design and Implementation of Member Management System for Technical Title Evaluation Committee of WeiFang City