Category Archives: NHibernate

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

NHibernate Intro Screencast Source

A few folks have asked me recently to post the source/binaries for my recent NHibernate Intro screencasts that are currently up on Dimecasts.net.  So, here they are!   ZIP/Binary download: http://code.google.com/p/pablo/downloads/list Source Code Browse: http://code.google.com/p/pablo/source/browse/#svn/trunk/presentations/chadmyers/nhibernate-intro SVN Source Code Checkout: http://pablo.googlecode.com/svn/trunk/presentations/chadmyers/nhibernate-intro … Continue reading 

Also posted in Screencast | Comments Off

NHibernate DimeCasts.net Series

Derik Whittaker and his band of merry video elves over at DimeCasts.net have posted the 0th of about 5 parts to an NHibernate draft run-through presentation I did with a few of my colleagues. It was part of a presentation … Continue reading 

Also posted in DimeCasts | 8 Comments

Integrating StructureMap and NHibernate with WCF

Following many examples I found online for other IoC containers, I borrowed utilized those designs to create a StructureMap instance provider.  One problem we ran into with that design was dealing with NHibernate.  Mainly, there are two types that are … Continue reading 

Also posted in Uncategorized | Comments Off