#1 Yesterday 03:51:13

mrbar2000
Member
From: Brazil
Registered: 2016-10-26
Posts: 90

RecordToObject and ObjectToRecord

There are some way to mapping property with names diferents between record and object. i.e:

TDTOAPerson                     TClient
    Name                ---->         ClientName
    BirthDay            ---->         BirthDay

I see something about TMapRTTI on last version of mormot, but i dont see on forum, blog or documentation nothing about this.

Offline

#2 Yesterday 08:55:14

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: RecordToObject and ObjectToRecord

The documentation is part of the source comments of TRttiMap.

See also test.core.base.pas line 2456 and following.

Offline

Board footer

Powered by FluxBB