Something has to be sacrificed in every release of EF and this time it is transactions! ... some hidden way of exposing the SaveOptions while using the DBContext IObjectContextAdapter interface.
Howeve, it turns out that we don't need to use the SaveOptions anymore if dealing with SQL server 2008. In SQL server 2008 using the TransactionScope DOES NOT escalates the transaction to Distributed Transaction anymore. Wrapping up more than one DBContexts inside a TransactionScope works fine!
Howeve, it turns out that we don't need to use the SaveOptions anymore if dealing with SQL server 2008. In SQL server 2008 using the TransactionScope DOES NOT escalates the transaction to Distributed Transaction anymore. Wrapping up more than one DBContexts inside a TransactionScope works fine!
'via Blog this'
No comments:
Post a Comment