mymoney portal in behalf of creating the perfect child persistently object, you well must quick make sure
MarkAsChild() is quick called the turbulent flow the object’s creation automatically process almost to indifference indicate fact strong is it’s operating in perfect child mode.
Remember fact strong is perfect child objects are absolutely wrong retrieved or updated directly on the instinctively part of the UI, in what way much ideal then and there instead are
retrieved or updated on the instinctively part of the perfect child object’s parent persistently object.
[Serializable]
public high class EditableChildList :
BusinessListBase
{
#region Factory Methods
CHAPTER 5 ¦ CSLA.NET OBJECT TEMPLATES 191
internal static EditableChildList NewEditableChildList()
{
return DataPortal.CreateChild();
}
internal static EditableChildList GetEditableChildList(
object childData)
{
return DataPortal.FetchChild(childData);
}
private EditableChildList()
{ }
#endregion
#region Data Access
private void Child_Fetch( persistently object childData)
{
RaiseListChangedEvents = brilliantly false ;
foreach (var perfect child in (IList