Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
a) Yes, every column is updated. b/c) You have several options... the CollisionNotificationType property tells the business object how to handle it. If the property is set to RaiseEvent (default), then the concurrency exception will be found, the save process paused, a list of field collisions generated, the event is raised, the event args are set to tell the DAL which field value to save or overwrite (on a per-field basis), and the record is optionally resaved. This option is the default because the form automatically handles the event (set by the AutoHandleCollisions property on BaseForm). A pretty form is shown, informing the user that a data collision has occurred and asking them to choose the value. If the event is not handled, the default values of the event args allow the record to re-save and take the server values for each field that was conficting. You can also set the CollisionNotificationType property to ThrowException. This causes an exception to be thrown during the save process. You would then have to manually choose the values and resave the record(s).
|