The Best C# Programmer In The World - Ben Perkins Member Login  | Newsletter | RSS Feeds


 
 
 
TheBestCSharpProgrammerInTheWorld.com 
 
The Best C# Programmer In The World - Ben Perkins
Reviews  
 
Working with NHibernate 3.0 review

I am proud to be the author of this book. It took a lot of effort to write, review and create the sample program used within it. It not only took effort from myself, but many others, such as editors, layout and technical staff. It is a journey to write a book.

Working with NHibernate 3.0 utilizes NHibernate version 3.2 to create a Guitar Store program which supports the creation, modification and deletion of inventory using the Windows Presentation Foundation (WPF) framework. Based on the .NET 4.0 Framework, you are walked through the creation of the database (this book uses the database first approach), the creation of the mapping and class files and then the implementation of them into the WPF.

What’s special in this book is that it’s written in a workbook format from start to finish. This means that there are step-by-step instructions presented for, not only the creation of the classes, but the implementation of them. Personally, I find many books provide examples on how to make a function that will use LINQ, ICriteria or IQuery, but few will show you, in detail, how to implement them into a working program. This is something I have not seen, in regards to any NHibernate books I’ve seen so far.

Lastly, I provided some good examples on using Futures to batch multiple queries together, saving round-trips to the database, a counter which helps you view how many times a transaction made a request to the database and the ability to view the NHibernate generated code, in real time. These things are valuable for beginners and advanced users.

I cover most of the features available and give working examples of them. From IQuery, ICriteria, ICriteria with QueryOver, LINQ to NHibernate, LINQ to NHibernate using Lambda Expressions. I alos cover some of the more “implementation specific” concepts such as inserting data and how to insert a parent/child relationship properly.

The last chapter discusses how to reuse the classes and mappings in an MVC 3 ASP.NET website. I suggest you look at this, it provides a description of the session per web-request implementation.

Overall, I think beginners who want to get started with NHibernate or advanced user who want get news ideas will benefits from this book.

Working with NHibernate 3.0 review

This is a good book and a must own if you plan to implement NHibernate or want to increase your knowledge of it. It is also a good resource for a study in ORM (Object Relationship Model) concepts. I have been using NHibernate for a while now and sometimes think I know it all. However, when I run into a roadblock, I still have it on my desk and I can and do still reference it from time to time. Even after using NHibernate for so long. Even with the release of NHibernate 3.0 I sugest getting this one.
This book is full of C# code examples and implementation techniques. It is a good supliment to get along with NHibernate in Action. This book touches on most of the compents of this huge framework with a series of How To's and best practise suggestions.
This book, although written in Java, is one of my favorites. Object-oriented concepts can be applied across most object-oriented languages. I was able to follow along with this book and work the examples in C#. 2 things I really like about this book. 1. Is that the way it is written makes it a very easy read. The conepts are explained like they happened in a real working environment. 2. They start the project with a good working example of a system and then walk through a series of iterations until you get to a really good designed system. By doing this you can see mistakes that can be made and, of course, when you can spot a design mistake, you can avoid problems or difficulties. Buy it and work the examples...but do it in C#!! :-)
 
 
page.Translate()
 
 
blog.Stats()
 
  Posts: 103
  Comments: 86
  Fundamentals: 13
 
my.Book()

 
me.About()
 
 
 
 
 
blog.Archive()
 
2012 February  (4)
2012 January  (5)
2011 December (2)
2011 November (6)
2011 October (7)
2011 September (7)
2011 August (9)
2011 July (9)
2011 June (8)
2011 May (9)
2011 April (7)
2011 March (9)
2011 February (8)
2011 January (8)
2010 December (7)
2010 November (8)
2010 October (4)
 
site.Visits()
 
free counters
 
tag.Cloud()
 
code.Disclaimer()
 
The sample code on this website is provided to illustrate a concept and should not be used in applications or Web sites without proper professional consultation, as it may not illustrate the safest coding practices. I assume no liability for incidental or consequential damages should the sample code be used for purposes other than as intended.
 
   


The Best C# Programmer In The World - Ben Perkins, © 2010, All Rights ReservedContact Ben