Allow Deleted Rows in Custom Field Properties dialog


Author
Message
Clayton Hoyt
Clayton Hoyt
StrataFrame Novice (66 reputation)StrataFrame Novice (66 reputation)StrataFrame Novice (66 reputation)StrataFrame Novice (66 reputation)StrataFrame Novice (66 reputation)StrataFrame Novice (66 reputation)StrataFrame Novice (66 reputation)StrataFrame Novice (66 reputation)StrataFrame Novice (66 reputation)
Group: Forum Members
Posts: 40, Visits: 85
Can you explain what the Allow Deleted Rows property does? The help topics I have still reference the older Custom Field Properties dialog.

Thanks!

StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
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.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search