Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Service Factory ( Data Access ) - Handling with transactions
 

Service Factory ( Data Access ) - Handling with transactions

Hi, I have last release of Guidance Automation Extensions ( June 2006 ).

It uses EntLib 2.0 :) , I have already to get familiar with EntLib 3.0 :/

What the questuion is: are there any patterns / automations / solutions that I could use in Business Logic project / Service Implementation project, so that operations within some scope would be transactional?

At the moment to solve that I have to modify methods signatures and pass them transaction obiects or use System.EnterpriseServices and decorate classes\methods with attributes and all that COM+ stuff.

I have also founded custom TransactionScope class ( on www.codeproject.com ) that creates transactional scopes by simulating .NET 2.0 TransactionScope class with use of ServiceConfig.

Will new ( I hope March 2007 CTP :) ) release support .NET 2.0 TransactionScope and EntLib 3.0 Data Access Application Block?

Thanks, Paweł

Pawel W_  Friday, March 09, 2007 4:47 PM
Hi Pawel,

These are all good questions... that should be posted to the Services Factory forum on codeplex where that team should respond to it :-)

thanks,
-Victor.
vga  Friday, March 09, 2007 5:35 PM
Hi Pawel,

These are all good questions... that should be posted to the Services Factory forum on codeplex where that team should respond to it :-)

thanks,
-Victor.
vga  Friday, March 09, 2007 5:35 PM

Thanks for reproof :)

So the answer for my question is:

WSSF gets EntLib dll's from path that is stored in registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\patterns and practices\Service FactoryEntlibBinaryPath

In my release those are dll with version 2.0. If you change path to point to EntLib 3.0 dll's path, everything will work fine, and we can enjoy using TransactionScope with LTM ( of course only with SQL Server 2005 ).

Thanks,Paweł

Pawel W_  Friday, March 09, 2007 10:29 PM

Have you got any answer for this? I am looking for a solution for implementing transaction per repository class generated by

service factory auto generated classes

lihai  Thursday, May 24, 2007 1:38 PM
Hi Pawel,
It is a good catch... Could you please post this also on WSSF Forum on CodePlex.
All community can have benefits of using EL v3 instead of v2.
Regards,
Lukasz
faf38  Friday, May 25, 2007 8:37 PM

You can use google to search for other answers

Custom Search

More Threads

• Wizard - Field with optional value
• How to remove GAX/GAT July 2007 CTP from your system
• $(TargetDir) available in Recipe node?
• Actions in Visual Studio 2005 Guidance Automation Toolkit (GAT) Very Slow
• What's new in the February 2007 CTP of GAX/GAT?
• Pass something other than a string to a ValueProvider?
• Registration Problem
• ProjectTemplateLink does not support substitution parameters (as used by GAT & SFT)
• Error using Project template - Package templates may not be properly registered.
• Future Roadmap for GAT