I have the following 3 classes:
Company : ReadOnlyBase<Company>
Activity : BusinessBase<Activity>
Activities : BusinessListBase<Activity>
In Activity, I declare a Company Property.
How can I set the Company Property in Activities, shall I define a special Factory Method in Company? How can I do it?
There is no "create" operation for a read-only object. Only the "fetch" operation has meaning, so you need to use DataPortal.Fetch and DataPortal_Fetch.
Copyright (c) Marimer LLC