O.k. I think I need to chance all my data layer :s
Thanks for all Mr Jiri :D
--
View this message in context:
http://firebird.1100200.n4.nabble.com/TransactionScope-with-EntityFramework-4-tp3780144p3782521.html
Sent from the firebird-net-provider mailing list archive at Nabble.com.
On Wed, Aug 31, 2011 at 12:45 PM, Christian AstĂșa Rosales
wrote:
> Everytime I will use my context, will I have to surround my code in
> "using(TransactionScope trans = new TransactionScope())"??
Yes.
--
Jiri {x2} Cincura (x2develop.com founder)
http://blog.cincura.net/ | http://www.ID3renamer.
Well, I added "enlist=true" in conn string. Now I have other problem.
Everytime I will use my context, will I have to surround my code in
"using(TransactionScope trans = new TransactionScope())"??
Again, thanks for all.
-
Hi! I'm trying to use TransactionScope with EF 4 in my project, but the
rollback operation doesn't work.
Reading in internet I find that I need to add the EnList=true to my
connectionString, but when I do it, the Provider displays this error: "There
is no active TransactionScope to enlist transact