Review: Microsoft N Layer App Sample, part VIII–CRUD is so 90s
Join the DZone community and get the full member experience.Join For Free
take a look at the following:
i was curious about that, i didn’t really understand what is going on here, so i tracked it down a bit…
skipping over the part where there is a cast of null, this seems to indicate that this is a call to modify the entity to simulate concurrency, digging deeper:
seems like i was right, it is intended to force the save of this item to the database. that seemed very strange, so i checked upward, where this is used, and i found:
so, changebankaccount is just another way of saying save(), it seems, in a very round about way.
Published at DZone with permission of Oren Eini, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.