Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
The ShowDeletedRows property changes the RowStateFilter on the DefaultView of the internal DataTable to include rows with the row state of DataRowState.Deleted. So, if you set the ShowDeletedRows property to True, then rows that have been deleted act like normal rows within the business object.
The Allow Deleted Rows checkbox in the business object mapper is used if you're ever going to set the ShowDeletedRows property to True... When you access a field in a deleted data row, you have to pull the original value. So, when you set the Allow Deleted Rows property to true, the field is created with a test on the row state. If the row state is Deleted, then the Original value is returned, else the current value is returned.
|