The discuss and realize of ORM Framework based on .NET
Abstract
Nowadays, the Object Relational Mapping(ORM) has become a new hotspot in the field of software engineering. The application of ORM can greatly reduce the coupling degree between the business layer and the data layer , and improve the system’s scalability and maintainability. At the same time, the efficiency of development is also improved. Using ORM Framework in application is equal to erecting a bridge between relational model and object model. It can free developers from rudimentary and repeated work, and make them have more time to pay attention to the real commercial demand.
The content of this design is to research the concept , theoretical foundation of the object model and the relational model, and analyze the reason which cause "impedance mismatch" between the two models; Moreover, the theoretical technology about how to realize the ORM Framework based on .NET and the components of ORM Framework are discussed; What's more, an ORM Framework based on .NET——TCORM has been realized, which comprises a code-generator, persistent API and a rule of object relational mapping; At last, the TCORM Framework was used in the development of "Retire management system of Hunan University" to validate its feasibility and practicability.
The paper describes the research results in detail and summarizes the detailed design and realization of TCORM, then shows its application in "Retire management system of Hunan University".
Key Words: object relational mapping, Persistence, ORM, Object model