I have a requirement to use an Editable Root List. I am finding that it errors out in BusinessBase at:
internal void SetParent(Core.IEditableCollection parent){
if (!IsChild) throw new InvalidOperationException(Resources.ParentSetException);_parent = parent;
}
because IsChild is false for a root object, so it raises an exception before setting the parent. Is there a recommended fix for this? Or am I missing something (highly likely!)
Thanks a bundle,
Helen
You should be calling MarkAsChild() inside the fetch method...
Andrés
You're right!
Thanks a lot,
Helen
I've got the book and I have read most of it at least one time. Now I am painstakingly converting a small project to use the framework, with the intention of using it for most of my future development. My "small" project is sufficiently different from the Tracking project that it is not as easy to convert (for someone not completely familiar with the CSLA) as I might have hoped. But it's going well. Thanks for your patience.
Cheers,
Helen
Helen,
New member here, just doing some seaching before asking a question or two, and wanted to let you know I am in the same boat as you.
I bought the PDF version of the book from the publisher's site, and have it open on one monitor while trying to write first application using CSLA. SO I am not completely familiar with CSLA framework, or complete OO practice (been using pseduo object methodolgy)
Mike
Quick question for you -- is the semantic meaning of the "IsChild" property that the item is a member of a collection of BOs?
thx
Helen
Copyright (c) Marimer LLC