StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Allow Deleted Rows in Custom Field Properties...Expand / Collapse
Author
Message
Posted 01/14/2006 9:21:42 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 11/16/2006 1:23:18 PM
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!

Post #431
Posted 01/16/2006 9:21:22 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 1:09:23 PM
Posts: 2,686, Visits: 1,888
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.


www.bungie.net
Post #432
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 11:15am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.109. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.