imakimak wrote:
I haven't looked at the typed list but these objects that I have are read/write. Although there aren't too may like these in the system, large majority of these are read-only. So is this some kind of limitation with LLBL framework? Are there anyways of addressing it?
PS: What are the highest priority forums? I will just post my question there
the other forums under 'LLBLGen Pro' are of higher priority.
Writable objects in these cases can best be written manually, by aggregating some entities yourself. You can then fetch them using a set of queries ran in a method, and saved by using a UnitOfWork (2) object.
Entities across multiple tables is currently not supported, we will add this in the 3.x timeframe, likely later this year. This always has the limitation of the necessity of a 1:1 pk-pk relationship between the tables the entity is mapped on. So you can work around this by using inheritance (which can thus map an entity on multiple tables (the subtype), or by using the related table entity as a related object and by using FIelds mapped onto related fields in the designer to map the fields of the related entity into the main entity.
A problem with business objects as well is the separate hierarchies: if you have a Customer entity which contains an Orders collection, the order objects are inside the Customer. However if you have a separate object which contains a Customer and a set of Orders, there's no association between customer and orders and therefore recursive saves are not possible.