Can anyone recommend good tutorial on repository and Unit Of Work pattern usage for TransactionScope class with Linq ops.in C#?
views:
715answers:
3
+5
A:
Have a look at the ncommon project, it implements the unit of work pattern with your choice of orm - nhibernate, linq to sql and entity framework, you choose what flavour you like. Ritesh Rao is the main developer and can be found blooging here
Jake Scott
2009-06-15 10:36:23
i need a simple example.but ncommon is a project :)
tobias
2009-06-16 09:41:50
Yeah the examples are in project in the unit tests and there are examples in the blog :)
Jake Scott
2009-06-16 10:12:05
A:
Thought I'd throw this out there for everyone, this guy has a very simple TransactionScope tutorial. Even shows you how to exclude transactions from the transaction.
Dan
2010-05-19 00:25:16
A:
This is a great example of unit of work implementation in the context of Domain Drive Design. The source code is available, but is only explained in the book. Some discussion can be found here:
Igor Zevaka
2010-05-19 00:30:00