Category Archives: NHibernate

FluentNHibernate Contrib (FNH.Contrib) Is Alive!

A few months ago, a coworker created a set of extension methods to turn NHibernate’s Criteria API into a more fluenty, strongly typed API. We’ve been using it in a production app for a few months, and I wanted to … Continue reading 

Also posted in Uncategorized | Comments Off

What’s been happening in Fluent NHibernate land?

  Fluent NHibernate has seen a flurry of development followed by a complete lack of commits, I figure it’s time to let everyone know what’s going on. The Short Version We’re rewriting the internals. We have 100% of tests passing, … Continue reading 

Also posted in Rails, Ruby | 4 Comments

NHibernate 2nd level cache and multiple databases

Today we had an issue with our system. The application was showing unexpected behavior when different people where working with different databases. The application is a Silverlight based application. What we found out was that although the application was using … Continue reading 

Also posted in CodingDojo, TDD | Comments Off

Article series on NHibernate and Fluent NHibernate – Part 2

Today the second part of my series on NHibernate and Fluent NHibernate went live. You can read it here. Summary In part 2 of the article series I have continued to implement the remaining part of the domain which I … Continue reading 

Also posted in CodingDojo, Programming, TDD | 15 Comments

Article series on NHibernate and Fluent NHibernate

I have been invited to write a series of articles on NHibernate and Fluent NHibernate on http://dotnetslackers.com. The first part of this series has just been published. I invite you to read it here. In this series I start from … Continue reading 

Also posted in Principles | 6 Comments

Need Advice: Teach NHibernate with Fluent NHibernate or Without?

I’m in the process of writing an upcoming article for CoDe Magazine about getting started with NHibernate. I’ve spoken with several people about my approach and the majority of them seem to agree that I should use Fluent NHibernate for … Continue reading 

Also posted in Advice, CoDe Magazine, Fluent NHibernate | 29 Comments

NHibernate + XML Columns

One of the things I’ve been working on recently involves using XML columns in SQL Server.  Starting out, it was simple and I was just doing vanilla ADO.NET (wrapped in a simple Query API) combined with XML serialization/deserialization, which worked … Continue reading 

Also posted in Database, ORM | 16 Comments

Oxite Review

Several folks, including Microsoft employees and members of the Oxite team, have politely requested I do a post or few on the problems I see with Oxite and why I previously recommended that it is not a good example/sample from … Continue reading 

Also posted in Design, Domain, ORM, Oxite, Repositories | 19 Comments

Mapping A State Pattern With NHibernate

In the comments of my previous post – Descriptive State Enumeration – Maxim Tihobrazov asked me to show how to map a state pattern with NHibernate; and I am more than happy to oblige! NHibernate Mapping Options I certainly don’t … Continue reading 

Also posted in CodingDojo, Programming, TDD | 15 Comments

Finding Design Smells In Non-Design Related Places

In my last post, I talked about the idea of encapsulation and using it to ensure that our business rules were enforced correctly. What I didn’t talk about, though, was the second half of the conversation that my coworker and … Continue reading 

Also posted in Uncategorized | 2 Comments