基于.net的orm框架設(shè)計和實現(xiàn).rar
基于.net的orm框架設(shè)計和實現(xiàn),基于.net的orm框架設(shè)計和實現(xiàn)1.4萬字 37頁包括開題報告和任務(wù)書摘 要目前,orm技術(shù)已成為軟件工程領(lǐng)域的一個研究熱點,orm的應(yīng)用能極大的降低業(yè)務(wù)層和數(shù)據(jù)層的耦合度,提高系統(tǒng)的可擴展性、可維護性和項目的開發(fā)效率,最主要的是它使面向?qū)ο蟮乃枷胴灤┯谲浖椖康脑O(shè)計和開發(fā)過程,實現(xiàn)對象模型向關(guān)系模型的轉(zhuǎn)化及數(shù)據(jù)持久...
該文檔為壓縮文件,包含的文件列表如下:


內(nèi)容介紹
原文檔由會員 usactu 發(fā)布
基于.NET的ORM框架設(shè)計和實現(xiàn)
1.4萬字 37頁
包括開題報告和任務(wù)書
摘 要
目前,ORM技術(shù)已成為軟件工程領(lǐng)域的一個研究熱點,ORM的應(yīng)用能極大的降低業(yè)務(wù)層和數(shù)據(jù)層的耦合度,提高系統(tǒng)的可擴展性、可維護性和項目的開發(fā)效率,最主要的是它使面向?qū)ο蟮乃枷胴灤┯谲浖椖康脑O(shè)計和開發(fā)過程,實現(xiàn)對象模型向關(guān)系模型的轉(zhuǎn)化及數(shù)據(jù)持久化操作的透明性。
本設(shè)計通過研究關(guān)系模型和對象模型的概念、組成及各自的優(yōu)缺點,分析出兩種模型間存在的阻抗不匹配問題及問題產(chǎn)生的原因;探討基于.NET的ORM框架設(shè)計應(yīng)有的組成部分及其實現(xiàn)方法。初步實現(xiàn)一個基于.NET的ORM框架——TCORM,在該框架中實現(xiàn)代碼生成器、持久化API和對象關(guān)系映射原則三個部分;在“湖南大學離退休信息管理系統(tǒng)”開發(fā)中引入TCORM框架后,使系統(tǒng)以面向?qū)ο蟮姆椒ㄟM行設(shè)計和開發(fā),其數(shù)據(jù)持久化操作完全透明化,驗證出TCORM框架的可行性和實用性。
本文詳細敘述設(shè)計者對關(guān)系模型和對象模型的研究成果和對基于.NET的ORM框架設(shè)計的研究成果;概述TCORM的詳細設(shè)計和具體實現(xiàn),并展示TCORM框架在“湖南大學離退休信息管理系統(tǒng)”項目開發(fā)中的運用。
關(guān)鍵字:對象關(guān)系映射,持久化,ORM,對象模型
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
目 錄
1.緒論 1
1.1課題背景及意義 1
1.2國內(nèi)外研究現(xiàn)狀 1
1.3 ORM相關(guān)產(chǎn)品簡介 2
1.3.1 ObjectSpaces 2
1.3.2 NHibernate 2
1.3.3 XPO 3
1.4 論文構(gòu)成及主要內(nèi)容 3
1.5 本設(shè)計的主要成果 3
2.相關(guān)模型的研究 4
2.1關(guān)系模型 4
2.1.1關(guān)系模型的相關(guān)數(shù)學理論 4
2.1.2關(guān)系模型的構(gòu)成 4
2.1.3關(guān)系模型的優(yōu)勢與局限性 4
2.2 對象模型 5
2.2.1 對象模型的相關(guān)理論 5
2.2.2 對象模型的構(gòu)成 5
2.2.3 對象模型的優(yōu)勢和局限性 5
2.3 阻抗不匹配問題 6
2.3.1阻抗不匹配問題的由來 6
2.3.2產(chǎn)生阻抗不匹配問題的原因 6
3.ORM框架的組成及實現(xiàn)方法 7
3.1 對象關(guān)系映射原則和實現(xiàn)方法 7
3.1.1 結(jié)構(gòu)映射 7
3.1.2關(guān)系映射 8
3.2對持久類對象進行CRUD操作的API 10
3.2.1新增 11
3.2.2選擇 11
3.2.3刪除 11
2.3.4修改 12
3.3代碼生成器 12
3.4 面向?qū)ο蟮牟樵冋Z句 12
4.TCORM框架的設(shè)計和實現(xiàn) 13
4.1 TCORM框架的設(shè)計總述 13
4.2 TCORM框架的詳細設(shè)計 13
4.2.1對象關(guān)系映射的詳細設(shè)計 13
4.2.2 持久化API的設(shè)計 17
4.2.3代碼生成器(TCCreator)的設(shè)計 19
4.3 TCORM框架的具體實現(xiàn) 20
4.3.1開發(fā)環(huán)境介紹 20
4.3.2 TCORM框架的具體實現(xiàn) 21
5.TCORM框架在項目中的實際運用 23
5.1運用描述 23
5.2相關(guān)配置 23
5.2.1架構(gòu)系統(tǒng)結(jié)構(gòu) 23
5.2.2 配置映射文件路徑 23
5.2.3 編寫實體類和映射文件 23
5.2.4編寫代碼 25
結(jié)論與展望 31
致 謝 32
參考書目 33
參考書目
7]徐進,姜世鋒著.SQL Server2000編程指南[M].北京:希望電子出版社
[8]王坤著.基于RDBMS的對象——關(guān)系映射技術(shù)研究[M].南京:南京理工大學
[9]關(guān)系數(shù)據(jù)模型要素[DB].
[10]呂德文著.影射對象到關(guān)系數(shù)據(jù)庫的快速持久層的研究與設(shè)計[M].武漢:重慶大學
[11]UML基礎(chǔ):類圖[DB].
1.4萬字 37頁
包括開題報告和任務(wù)書
摘 要
目前,ORM技術(shù)已成為軟件工程領(lǐng)域的一個研究熱點,ORM的應(yīng)用能極大的降低業(yè)務(wù)層和數(shù)據(jù)層的耦合度,提高系統(tǒng)的可擴展性、可維護性和項目的開發(fā)效率,最主要的是它使面向?qū)ο蟮乃枷胴灤┯谲浖椖康脑O(shè)計和開發(fā)過程,實現(xiàn)對象模型向關(guān)系模型的轉(zhuǎn)化及數(shù)據(jù)持久化操作的透明性。
本設(shè)計通過研究關(guān)系模型和對象模型的概念、組成及各自的優(yōu)缺點,分析出兩種模型間存在的阻抗不匹配問題及問題產(chǎn)生的原因;探討基于.NET的ORM框架設(shè)計應(yīng)有的組成部分及其實現(xiàn)方法。初步實現(xiàn)一個基于.NET的ORM框架——TCORM,在該框架中實現(xiàn)代碼生成器、持久化API和對象關(guān)系映射原則三個部分;在“湖南大學離退休信息管理系統(tǒng)”開發(fā)中引入TCORM框架后,使系統(tǒng)以面向?qū)ο蟮姆椒ㄟM行設(shè)計和開發(fā),其數(shù)據(jù)持久化操作完全透明化,驗證出TCORM框架的可行性和實用性。
本文詳細敘述設(shè)計者對關(guān)系模型和對象模型的研究成果和對基于.NET的ORM框架設(shè)計的研究成果;概述TCORM的詳細設(shè)計和具體實現(xiàn),并展示TCORM框架在“湖南大學離退休信息管理系統(tǒng)”項目開發(fā)中的運用。
關(guān)鍵字:對象關(guān)系映射,持久化,ORM,對象模型
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
目 錄
1.緒論 1
1.1課題背景及意義 1
1.2國內(nèi)外研究現(xiàn)狀 1
1.3 ORM相關(guān)產(chǎn)品簡介 2
1.3.1 ObjectSpaces 2
1.3.2 NHibernate 2
1.3.3 XPO 3
1.4 論文構(gòu)成及主要內(nèi)容 3
1.5 本設(shè)計的主要成果 3
2.相關(guān)模型的研究 4
2.1關(guān)系模型 4
2.1.1關(guān)系模型的相關(guān)數(shù)學理論 4
2.1.2關(guān)系模型的構(gòu)成 4
2.1.3關(guān)系模型的優(yōu)勢與局限性 4
2.2 對象模型 5
2.2.1 對象模型的相關(guān)理論 5
2.2.2 對象模型的構(gòu)成 5
2.2.3 對象模型的優(yōu)勢和局限性 5
2.3 阻抗不匹配問題 6
2.3.1阻抗不匹配問題的由來 6
2.3.2產(chǎn)生阻抗不匹配問題的原因 6
3.ORM框架的組成及實現(xiàn)方法 7
3.1 對象關(guān)系映射原則和實現(xiàn)方法 7
3.1.1 結(jié)構(gòu)映射 7
3.1.2關(guān)系映射 8
3.2對持久類對象進行CRUD操作的API 10
3.2.1新增 11
3.2.2選擇 11
3.2.3刪除 11
2.3.4修改 12
3.3代碼生成器 12
3.4 面向?qū)ο蟮牟樵冋Z句 12
4.TCORM框架的設(shè)計和實現(xiàn) 13
4.1 TCORM框架的設(shè)計總述 13
4.2 TCORM框架的詳細設(shè)計 13
4.2.1對象關(guān)系映射的詳細設(shè)計 13
4.2.2 持久化API的設(shè)計 17
4.2.3代碼生成器(TCCreator)的設(shè)計 19
4.3 TCORM框架的具體實現(xiàn) 20
4.3.1開發(fā)環(huán)境介紹 20
4.3.2 TCORM框架的具體實現(xiàn) 21
5.TCORM框架在項目中的實際運用 23
5.1運用描述 23
5.2相關(guān)配置 23
5.2.1架構(gòu)系統(tǒng)結(jié)構(gòu) 23
5.2.2 配置映射文件路徑 23
5.2.3 編寫實體類和映射文件 23
5.2.4編寫代碼 25
結(jié)論與展望 31
致 謝 32
參考書目 33
參考書目
7]徐進,姜世鋒著.SQL Server2000編程指南[M].北京:希望電子出版社
[8]王坤著.基于RDBMS的對象——關(guān)系映射技術(shù)研究[M].南京:南京理工大學
[9]關(guān)系數(shù)據(jù)模型要素[DB].
[10]呂德文著.影射對象到關(guān)系數(shù)據(jù)庫的快速持久層的研究與設(shè)計[M].武漢:重慶大學
[11]UML基礎(chǔ):類圖[DB].
TA們正在看...
- 01.1四時田園雜興課堂教學教案教學設(shè)計(部編版).doc
- 01.2稚子弄冰課堂教學教案教學設(shè)計(部編版).doc
- 01.3村晚課堂教學教案教學設(shè)計(部編版).doc
- 02冬陽·童年·駱駝隊公開課優(yōu)秀教案教學設(shè)計(五年...doc
- 02冬陽·童年·駱駝隊最新教研教案教學設(shè)計(部編版...doc
- 02冬陽·童年·駱駝隊課堂教學教案教學設(shè)計(部編版).doc
- 03祖父的園子公開課優(yōu)秀教案教學設(shè)計(五年級下冊).doc
- 03祖父的園子最新教研教案教學設(shè)計(部編版五年級下...doc
- 03祖父的園子課堂教學教案教學設(shè)計(部編版).doc
- 04草船借箭公開課優(yōu)秀教案教學設(shè)計(五年級下冊).doc