Sponsored By Aspose - File Format APIs for .NET

Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!

Category Archives: NHibernate

Fluent Sharp NHibernate Persistence Configuration, or “How to build credibility through OSS name dropping”

For those of you skimming your RSS reader, I’ll help you filter because I suspect my target audience is narrow with this one. This post deals with using the Fluent NHibernate IPersistenceConfigurer with Sharp Architecture. The hillbilly is a-codin’ agin! … Continue reading 

Also posted in ASP.NET MVC, S#arp Architecture | 3 Comments

NHibernate 2.1 Changes Overview

Normal 0 21 false false false FR X-NONE X-NONE A year ago, when NHibernate 2.0 was released I did a NHibernate 2.0 Changes Overview post. Today NHibernate 2.1 is out so let’s have a look at what’s new. One can … Continue reading 

Also posted in Hardware | 14 Comments

Introduction to NHibernate, pt. 7

In earlier parts of this series we looked at mapping via XML mapping files. I wanted to look at some alternatives to the angle bracket tax. First up is the Castle project’s Active Record. Next time we will look at … Continue reading 

Also posted in Career | 14 Comments

Introduction to NHibernate, pt. 6

Last time we looked at mapping value types and user defined types. This time I want to look at sessions. Understanding sessions is one of the challenges for any developers approaching ORMs for the first time, because they can represent … Continue reading 

Also posted in Featured | Leave a comment

An Evening with Fluent NHibernate

So after reading quite a few posts recently about folks dumping their hbm.xml files for fluent nhibernate, I decided to check it out for myself – and in the process formed a couple general thoughts about some other things. First, … Continue reading 

Also posted in Refactoring, TDD | 12 Comments

Introduction to NHibernate, pt.5

Last time around Last time we looked at how we map inheritance in NHibernate. This time I want to look at value types. Mapping Value types NHibernate supports a ‘fine-grained object model’. That is to say it allows us to … Continue reading 

Also posted in Brownfield | 9 Comments

ALT.NET Seattle 2009, some impressions

Having just got back from Alt.Net Seattle 2009, I wanted to post a few reflections. Mostly this is just a dump of things that grabbed my attention – its not meant to be any kind of documentation of the convesations … Continue reading 

Also posted in Sundry | 10 Comments

Introduction to NHibernate, pt. 4

Last time we started looking at the parts of an OO model that need translation to relational form when we looked at mapping relationships. This time we will look at another area where we need to translate: mapping inheritance hierarchies. … Continue reading 

| 1 Comment

Introduction to NHibernate, Part 3

    Last time we looked at mapping an entity. This time we will look at mapping the entity’s relationships. Mapping Relationships  The collection types that NHibernate understands are: <set>, <list>, <map>, <bag>, <array> and <primitive-array>   <set> is the … Continue reading 

Also posted in Uncategorized | 6 Comments

NHibernate Profiler: Minute 15

I’ve said this before and I’ll say it again: Lord Tunderin’ Jayzus! The target this time is NHibernate Profiler. As of this moment, I’ve had it "installed" for all of fifteen minutes and I’ve already reduced the query count of … Continue reading