iunitofwork / iunitofworkrepository
Hey Scott,
neat book, learning a lot from it and your other arch books. At the moment I'm seeking a bit of clarification.
In the book chapters itself (not the case study which there are errors as _uow is not hooked into) you have an Iunitofwork iface which gets implemented by nhibernate which essentially delgates down to session.save/session.delete etc.
However in the base repository class you call, registernew etc. while always passing in null for an implementation of Iunitofworkrepostory, why is this? It is just another layer of abstraction in case a different ORM does it differently?
|