
Explore the full potential of NHibernate to build robust data access codeAbout This BookBuild a robust and scalable data access layer using NHibernate's features and practical wisdomUse patterns such as specification and query object to make data access layer maintainable and extensibleWork effectively with legacy databases using lesser known NHibernate featuresWho This Book Is ForThis book target...
Paperback: 402 pages
Publisher: Packt Publishing (July 31, 2015)
Language: English
ISBN-10: 1784393568
ISBN-13: 978-1784393564
Product Dimensions: 7.5 x 0.9 x 9.2 inches
Amazon Rank: 2503370
Format: PDF ePub Text djvu book
- Suhas Chatekar pdf
- Suhas Chatekar ebooks
- 1784393568 pdf
- Computers and Technology epub books
- 978-1784393564 epub
Good book, good examples and use cases. Easy to follow, builds on previous examples. Nice introduction, provides a solid foundation to build upon....
lopers who have never used an ORM before, developers who have used an ORM before but are new to NHibernate, or have used NHibernate sparingly and want to learn more about NHibernate.What You Will LearnMap domain entities to a database schema using the different mapping mechanisms availableConfigure NHibernate through XML configurationSave, update, and delete entities in the database and query data from a database using different querying methodsOptimize database operations for speed and memory consumptionUse NHibernate in real-life software projectsGet to know about data access patterns such as repository, specification, and query objectUse NHibernate with legacy databasesIn DetailConnecting the object-oriented world of .NET to the relational world of databases has always been fiddly but with the onset of ORMs such as NHibernate, developers have finally got some relief in this area.You will begin with a bird's eye view of NHibernate, touching upon its core concepts. You will define domain model and map it with database schema using different techniques. You will then look into multiple ways of storing domain entities in a database and learn important concepts such as transitive persistence, transactions and unit of work. This will be followed by retrieving data from database. Next, you will optimize your code, explore concepts such as the onion architecture, and learn where NHibernate fits best in an application's architecture. After introducing a well-known repository pattern into our application, you will learn to deal with legacy databases. We will conclude with infrequently used features such as stateless sessions, the second level cache, concurrency, and so on, which might come handy.