Page 1 of 1
Entity Model and Concurrency
Posted: Mon 21 Feb 2011 18:33
by KW
I generated an entity model and set a properties concurrency mode to fixed.
I then opened db monitor to make sure it was submitting the correct sql statement. It doesn't seem to be submitting the correct sql statement. It needs to add an additional parameter in the where clause. Does the concurrency work correctly?
Posted: Tue 22 Feb 2011 12:54
by AndreyR
Could you please give a more detailed description of the problem?
If possible, please
send us a small test project illustrating the issue.
Posted: Tue 22 Feb 2011 16:27
by KW
AndreyR wrote:Could you please give a more detailed description of the problem?
If possible, please
send us a small test project illustrating the issue.
Using Entity Developer, I set a property's concurrency mode to Fixed. Shouldn't this add an a parameter to the update statement so it looks like:
update table1 set prop1 = :prop1 where prop1 = :propr1OriginalValue, id = :id
Posted: Wed 23 Feb 2011 11:38
by AndreyR
I have made a simple check and the Update statement contained the expected WHERE clause. Could you please provide the test project?
Posted: Thu 24 Feb 2011 16:46
by KW
AndreyR wrote:I have made a simple check and the Update statement contained the expected WHERE clause. Could you please provide the test project?
Ok. Let me double check everything first and then I will repost here if I am sitll having issues. And I will provide a sample project.