StrataFrame Forum

Possible problem with how Concurrency is use...

http://forum.strataframe.net/Topic23656.aspx

By Edhy Rijo - 6/23/2009

I have a based BO in which I have the following properties setup for all my BOs:

DeleteConcurrencyType = OptimisticRowVersion

UpdateConcurrencyType = OptimisticRowVersion

RowVersionOrTimestampColumn = "RowVersionField"





I have a couple of BO in which I don't want to use any Concurrency, so I simply setup these properties:

DeleteConcurrencyType = Off

UpdateConcurrencyType = Off

RowVersionOrTimestampColumn = "RowVersionField" (this was left in, since it should have not effect)





Problem: When trying to update a record I get the following exception:

The formal parameter "@RowVersionField" was not declared as an OUTPUT parameter, but the actual parameter passed in requested output




So it looks like that by leaving the value in RowVersionOrTimestampColumn, will still be used even if the xxConcurrencyType properties are set to OFF, shouldn't this value be ignored when concurrency is OFF?
By Trent L. Taylor - 6/24/2009

Well, I can look. But I know that if you remove it it won't be used...easy workaround BigGrin



I will add this to a list and look at it when I get a chance.
By Edhy Rijo - 6/24/2009

Trent L. Taylor (06/24/2009)
Well, I can look. But I know that if you remove it it won't be used...easy workaround BigGrin


Sure, it took me some time to track this down. BigGrin



I will add this to a list and look at it when I get a chance.


Thanks Hehe