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

**URL:** https://talk.remobjects.com/t/69151-open-generating-strongly-typed-classes-from-da-schema-datwidememo-datwidestring-mapping/4820
**Category:** Data Abstract
**Created:** [August 20, 2014, 7:46pm UTC](https://talk.remobjects.com/t/69151-open-generating-strongly-typed-classes-from-da-schema-datwidememo-datwidestring-mapping/4820 "2014-08-20T19:46:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![callida](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/c/8edcca/32.png) [@callida](https://talk.remobjects.com/u/callida)
#### Post date: [August 20, 2014, 7:46pm UTC](https://talk.remobjects.com/t/69151-open-generating-strongly-typed-classes-from-da-schema-datwidememo-datwidestring-mapping/4820/1 "2014-08-20T19:46:14Z")

</div>

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](https://talk.remobjects.com/uploads/default/737/64e139ad6d3c0837.pas) (41.3 KB)

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [August 21, 2014, 7:10am UTC](https://talk.remobjects.com/t/69151-open-generating-strongly-typed-classes-from-da-schema-datwidememo-datwidestring-mapping/4820/2 "2014-08-21T07:10:55Z")

</div>

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

---

<div class="post-metadata">

### Author: ![callida](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/c/8edcca/32.png) [@callida](https://talk.remobjects.com/u/callida)
#### Post date: [August 26, 2014, 2:13pm UTC](https://talk.remobjects.com/t/69151-open-generating-strongly-typed-classes-from-da-schema-datwidememo-datwidestring-mapping/4820/3 "2014-08-26T14:13:15Z")

</div>

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](https://talk.remobjects.com/uploads/default/787/49460b898e796b76.pas) (46.5 KB)
