Global Handling Of Optimistic Concurrency

Posts   
 
    
audiobird
User
Posts: 19
Joined: 28-Jun-2006
# Posted on: 03-Aug-2006 10:28:11   

Hi,

To solve concurrency problems in the system I'm developing, I've created a special timestamp column in each of the tables.

Now I would like to automate the process of generation of IConcurrencyPredicateFactory implementations for each of my entities.

The optimal solution for me is when I generate the code for my project (using adapter) I would like to create a special folder in the DatabaseGeneric folder which will contain all the IConcurrencyPredicateFactory implementations for all the entities.

How can I do it? How can I build and register this/these task/s in LLBLGen Pro V2?

Thank you very much

Walaa avatar
Walaa
Support Team
Posts: 14987
Joined: 21-Aug-2005
# Posted on: 03-Aug-2006 15:35:33   

I think you should be using Templated and Task Performars. To start with you should read "Concepts -> Task based code generation" in the LLBLGen Pro manual. Then you would have to check the LLBLGen Pro SDK manual.

audiobird
User
Posts: 19
Joined: 28-Jun-2006
# Posted on: 03-Aug-2006 16:10:40   

Thanks, Walaa!

I'm already printing the guides...wink