Concurrency [Clarification]

Posts   
 
    
Posts: 54
Joined: 22-Jun-2010
# Posted on: 01-Sep-2010 07:48:17   

Hi,

I am using LLBLGEN 3.0 with .net framework 2.0 and Oracle 91/10g with winform application

I just need a clarification while using UOW2.

In a multi user environment, when multiple users update same record in same entity

say for example Billvalue = Bill value + 100 is being updated by one user and at same time second user updates Bill value + 1000, does UOW2 handles this situation automatically or do i need to use some extra coding.

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 01-Sep-2010 08:47:36   

UoW doesn't handle concurrency automatically.

Please check Concurrency Control

Posts: 54
Joined: 22-Jun-2010
# Posted on: 01-Sep-2010 08:56:51   

Walaa wrote:

UoW doesn't handle concurrency automatically.

Please check Concurrency Control

Not gettiing the link. Error 404 - File or directory not found

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 01-Sep-2010 08:59:05   

Strange indeeed.

Anyway, you can find the subject in the documentation in the following path: Using the generated code -> Adapter/SelfServicing -> Using the entity classes

Posts: 54
Joined: 22-Jun-2010
# Posted on: 01-Sep-2010 09:31:10   

Walaa wrote:

Strange indeeed.

Anyway, you can find the subject in the documentation in the following path: Using the generated code -> Adapter/SelfServicing -> Using the entity classes

Thanks Just one small clarification

If i need to upate entity.columnvalue = entity.columnvalue + value what is the syntax

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 01-Sep-2010 09:35:08   

Please check the documentation: Using the generated Code -> Field Expressions and Aggregates -> Expressions -> Expressions in Entity Updates

Posts: 54
Joined: 22-Jun-2010
# Posted on: 01-Sep-2010 10:11:58   

Walaa wrote:

Please check the documentation: Using the generated Code -> Field Expressions and Aggregates -> Expressions -> Expressions in Entity Updates

Thanks will revert back if i face problems