Unit Of Work For NHibernate and Entity Framework C# Example, as per article: http://www.zankavtaskin.com/2013/12/unit-of-work-for-nhibernate-and-entity.html
If you would like to test it out, just create eCommerce database and run "Customer table.sql". Then just use SQL Server trace tools and look at the transaction control.