Table of Contents
What Is an Object Relational Mapper? 2
Why NHibernate? 2
Part 1: Getting Started with NHibernate 2
A Quick Demo 2
Part 2: The NHibernate Framework 13
Architecture and Core Concepts 13
Mapping Your Entities: Impedance Mismatch 16
Persisting Business Objects 18
Part 3: Using NHibernate 19
Introducing the Project and Laying out the Solution Framework 19
Designing the Domain Model 23
NHibernate Repository Project: Base Class 39
Managing Products 48
Managing Customers 58
NHibernate Repository Project: Refactoring and Session Management 69
Managing Orders 74
The Database — A Question of Storage 94
Presentation with the Model–View–Presenter Pattern 96
User Interface: ASP.NET 103
Part 4: Other NHibernate Bits and Pieces 113
Other Querying Methods 113
Mapping Inheritance 115
What Kind of SQL Is Being Produced? 118
Wrap Up 119
Scott Millett 120
Maksa helposti kortilla, Klarnalla, Apple Paylla tai Google Paylla. Etkö ole tyytyväinen? Sinulla on aina 14 päivän palautusoikeus. Lue lisää ehdoistamme. Jos sinulla on kysyttävää, lähetä meille sähköpostia osoitteeseen hello@memmo.org.
Memmo tekee opiskelusta helpompaa – missä päin maailmaa ikinä oletkin. Meillä yhdistät kurssikirjat ja fiksut opiskelutyökalut yhteen paikkaan: tiivistelmät, visat, podcastit ja muistikortit. Ja sitten Ted, opiskelukaverisi, joka vastaa kaikkeen, mitä ikinä mietitkin. Yli 50 000 opiskelijaa opiskelee jo täällä – rakennettu auttamaan sinua oppimaan nopeammin ja stressaamaan vähemmän.