LessThanDot Site Logo

LessThanDot

A decade of helpful technical content

Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary.

Browsing "nhibernate"

Book Review – NHibernate 3.0 Cookbook

I just finished reading the NHibernate 3.0 Cookbook, part of Packt Publishing’s Open Source series, and I’ve been really impressed. The book is written by Jason Dentler, whose blog I’m sure anyone doing frequent searches for NHibernate has run across once or twice in their travels. What really stood out to me about this book […]

Read More...

Some Thoughts on Session Management

The last time I did a post on NHibernate (or any post for that matter – I guess I’ve been a bit busy) Ben asked a question about what I ended up using for session management in the application I’ve been working on. I guess I could come out and answer it, but I’d hardly […]

Read More...

Two Years With NHibernate – Lessons Learned

I realized the other day that it’s been nearly two years since I wrote a series of posts as I was learning to use NHibernate for data access. I haven’t really blogged a whole lot about NHibernate (I leave that to our resident expert, Chris) but I’ve certainly been working with it a bit. And […]

Read More...

My Path to the Dark Side part 4 – the Repositories

Previous posts can be found here: Part One – The Beginning Part Two – The Domain Model Part Three – Testing the Schema Setting up the repositories for our objects is where this really starts to get fun for me. This is what allows us to work with the persisted objects so easily from our […]

Read More...

My Path to the Dark Side part 3 – Testing the Schema

Previous posts can be found here: Part One – The Beginning Part Two – The Domain Model In part two we set up our domain model. Now, before we can test nhibernate’s ability to work with and persist objects, we need to ensure that we’ve defined our schema well enough that NHibernate can create the […]

Read More...

My Path to the Dark Side part 2 – The Domain Model

Part One – The Beginning In part one we discussed what has brought me to the shameful point of using an object-relational mapper. At the risk of being ostracized from the database community, I really think this is going to be helpful for my project. The next step is to actually build up the domain […]

Read More...

My Path to the Dark Side part 1 – The Beginning

For a while now, I’ve been brewing my own beer. Being a programmer, when I’m brewing of course I also need a way to store my recipes, and how they turn out. So I have a simple application I wrote that most recently uses SQL Server Compact edition for its database. Recently I was trying […]

Read More...