Page 1 of 1

Invalid reverse enginered schema from Oracle

Posted: Mon 30 May 2011 21:33
I reverse engineered 2 tables from an oracle database into a lqml model in VS 2010. The designer generated mappings like this:

According to the xsd of the editor and the runtime schema check of XmlMappingSource, MaxLength and Scale is invalid attribute.
If I manually remove them, the mapping works as expected.

What is the problem?

Regards,
Zsolt

Posted: Tue 31 May 2011 09:28
by StanislavK
LinqConnect models store additional mapping details in .lqml files. Thus, these files should not be used as a source of external mapping, since they don't conform to the standard schema.

To resolve the problem, please set the 'Mapping Mode' model property to 'File'. In this case, Entity Developer will generate an .xml mapping file with the standard schema. Please use this file instead of .lqml as an external mapping source.

Feel free to contact us if you encounter any problems with this.

Posted: Wed 01 Jun 2011 20:49
Thank you, now, it works nicely. :)

Your product is great, but you have to write much more docs and articles, because I didn't find anything about the discussed things.

Posted: Thu 02 Jun 2011 10:01
by StanislavK
Thank you for your assistance, we will update the topic on XML mapping in our documentation.