Daniel Little Coding Blog
Daniel Little Coding Blog

A blog about .net development and the web.

Our Newsletter


Like this blog? Get each new post as soon it's posted.

Tags


Twitter


Daniel Little Coding Blog

orm

Object-Relational Mapper Exceptions

When working with Object-Relational Mappers like nhibernate and Entity Framework 4 it can seem like a good idea to setup a Session or Context at the start of a request and finalise it at the end of a request. This is exactly what I was doing until I figured out how wrong it was. I'll be using Entity framework for my examples so I'm not re…

Daniel LittleDaniel Little