I'd like to see a property added to the BeforeDeleteEventArgs to indicate if the delete is deferred (marked as deleted) or immediate. I’d like to be able to add some code to the BO to delete related records in other tables. Since a record marked as deleted can be undone I would want to wait and delete the related records in the BeforeSave event handler of the BO. If the BO is being deleted immediately I need to delete the related records in the BeforeDelete event of the BO to avoid constraint errors.
-Larry
Also the Developer's Guide states the DeleteCurrentRow() deletes the record from the server immediately. However when I look at the source code
CheckSecurity is being set to False and OnlyMarkAsDeleted is being set to True.
Thanks for your input!
"DeleteCurrentRow() - When this overload is called, the record being deleted is immediately removed from the server and the internal data table is updated."