Newbie: BusinessListBase vrs. EditableRootListBase

Newbie: BusinessListBase vrs. EditableRootListBase

Old forum URL: forums.lhotka.net/forums/t/5354.aspx


dctc42 posted on Friday, September 05, 2008

I just ran across EditableRootListBase and cannot understand it's purpose as compared to BusinessListBase from reading the comment summary. Aren't BusinessListBase descendants editable?

 

Thanks

RockfordLhotka replied on Friday, September 05, 2008

The EditableRootListBase class is described in the CSLA .NET Version 2.1 Handbook.

BLB can be a root or child, but it always contains child objects.

ERLB is only a root, and it always contains root objects. The terms I use are dynamic list and dynamic root (to differentiate from editable root list and editable root, which are different).

ERLB exists to address exactly one scenario: in-place editing of data in a Windows Forms (and in the future WPF and Silverlight) grid control, where changes made by the user are immediately committed as the user moves off each row.

BLB, on the other hand, provides for batch updates and is the more widely used option.

Copyright (c) Marimer LLC