Hi!
While using TAureliusDataset I got into some situations that require your attention
- How to assign an entity to a field? I tried using
adsEdit.EntityFieldByName('Customer').AsObject := FManager.Find<TCustomer>(frmSearch.Result.TaxID);
I got no errors, but the field is now empty. I checked frmSearch.Result.TaxID and it's filled correctly and Manager.Find returnt an entity.
- How exactly do the Lookup for a sub-entity? Is possible to do it without declarind a field in design time as TLookupField? I like the idea that the fields are created in run-time, but struggle to do the lookup.