A
Andrew Robinson
I am working on a system system that requires optimistic concurrency within
a web app. At first I thought this would be easy. We generate our own
entities and dal/service layer but I now see that working with controls like
a grid view pose some very complicated issues.
If I am using rowversion, when do I start the "clock"? When I first display
the label version of a field? when I display the data within a textbox for
edit or when I read the record for the 3rd time before updating new values
on the edit postback? And finally, where do I store rowversions for all of
these records in a web app since it doesn't look like they can be stored as
part of the gridview?
I am guessing that someone has wrestled with this alligator before. Any
suggestions or is this something that is so plagued with problems that it I
would just be better off not implementing it.
-Andy
a web app. At first I thought this would be easy. We generate our own
entities and dal/service layer but I now see that working with controls like
a grid view pose some very complicated issues.
If I am using rowversion, when do I start the "clock"? When I first display
the label version of a field? when I display the data within a textbox for
edit or when I read the record for the 3rd time before updating new values
on the edit postback? And finally, where do I store rowversions for all of
these records in a web app since it doesn't look like they can be stored as
part of the gridview?
I am guessing that someone has wrestled with this alligator before. Any
suggestions or is this something that is so plagued with problems that it I
would just be better off not implementing it.
-Andy