[69151 Open] Generating strongly-typed classes from DA-schema, datWideMemo & datWideString mapping

Hello,

when client and server strongly-typed access units are generated, datMemo fields are encapsulated as IROStrings interface. Its graceful and handy solution, works well. But… datWideMemo fields are mapped as plain WideString properties… why? I think that starting with Delphi 2009 datWideMemo fields could be handled in the same manner… i.e. as IROStrings interface.

Similarly… datWideString fields are also mapped as plain WideString properties… nor there I cannot see any reason why don’t map them as ordinary String properties…

I attached modified uDASchemaUnitsGenerator.pas unit, proposal changes are marked with “fix CALLIDA” comment… please see it and consider if these changes are suitable for integration in some of following releases.

Greetings from Prague
Jaroslav

uDASchemaUnitsGenerator.pas (41.3 KB)

Thanks, logged as bugs://69151: Generating strongly-typed classes from DA-schema, datWideMemo & datWideString mapping

Hello,

proposed modifications in uDASchemaUnitsGenerator.pas weren’t completed, some important changes forgotten… please see & check attached file, now it is ok.

Greetings from Prague,
Jaroslav

uDASchemaUnitsGenerator.pas (46.5 KB)