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
Invalid reverse enginered schema from Oracle
-
- Posts: 10
- Joined: Mon 30 May 2011 20:58
-
- Devart Team
- Posts: 1710
- Joined: Thu 03 Dec 2009 10:48
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.
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.
-
- Posts: 10
- Joined: Mon 30 May 2011 20:58
-
- Devart Team
- Posts: 1710
- Joined: Thu 03 Dec 2009 10:48