TResolveResults and field values added on the server

I might have asked this, or something like it before, so excuse me if I have.

On my Aurelius entity I have a [OnInserting] method which sets a DateAdded value into a field on the entity. This successfully writes to the database.

However on the TResolveResults.Records[0] this data is not returned:
(this json is from the browser inspector)

{
    "Id": 55,
    "DateAdded": null,
}

Should the data be there? Do I need to do something different?

As such, even if I try to update the object in the webcore app (TXDataWebDataset.CurrentData) it isn't set and then any subsequent update wipes this from the database.

No. TResolveResults.Records contain only the local modifications that are supposed to be sent to the server. So, it doesn't have any information returned from the server.

So not much point in returning the resolve result in most cases, except for an insert for the id, as this will just be the data that was sent in the first place.

I try to put as much processing on the server as possible so that wherever the call comes from the coding is not needed to be repeated (an hence maintained).

So basically the way to get the correct/updated data is to close and reopen the dataset then.

Actually, I stand corrected. Indeed ResolveResults are updated after the data is sent to the server, by the underlying TXDataWebClient itself.

And indeed, only generated id is updated. This is actually a shared common behavior between both XData client for Web and regular Delphi applications.