If i have field
FProduct:proxy;
I can provide
[XdataProperty]
Property ProductId: string
read getProductid
...
function TOrderRow.GetProductId: String;
begin
result := FProduct.value;
end;
But setter is "harder" to implement cause it requires one actually find Object first. In xdata server you can do find using ObjectManager trough TXdataOperationContext but if using pure aurelius code it's not working.
Of course one must be sure that id is valid.