views:

97

answers:

2

What is the meaning of "Unit of Work" concept in NHibernate and other ORMs?

+4  A: 

It is explained very well in this blog post.

Darin Dimitrov
+1  A: 

A unit of work is one or more database transactions that are either commited or rolled back together: either all succeed or all fail. It's the idea of ACID properties for databases.

duffymo