Rik Svendsen Rose
Rik Svendsen Rose
Hi @janstupak I see your point. I have always had: ```c# using(var uow = db.UinitOfWork()) { try { //somehting thows } catch(Exception exception) { uow.Rollback(); } } ``` I can...
@janstupak Yeps. Looks like the Marshell is the only way to "sence" an exception. Interestingly though, What about if the exception should not rollback, and you want the data stored.....
@janstupak I agree with you. I will add the marshel and an option ASAP. Just need the time to do it :-) Thanks for the heads up..
@mcinnes01 Thanks !:-) I need to have and deeper look at this. We also need to think about the disposal of the repos, e.g.windsor needs you to dispose factory created...
Hi @mcinnes01 Sorry for the long wait. I have been Working days and nights these days :-). Uat busy you know... If you look under the test examples with IOC...
I think this will do it in unity: container.RegisterType(typeof(IRepository), typeof(Repository ), new TransientLifetimeManager());
Close?
There are many"Raw" methods, can you put it in one of them?
Duplicate of #368
WhereRaw? Can you not do it with that?