Page 1 of 1

external mapping

Posted: Fri 28 Aug 2009 10:13
by lnu
Hello,

more stuff for the linq provider:

I've built an external mapping file for some classes. It works nice with standard DataContext but using it with a Devart DataContext throws an "Object reference not set to an instance of an object" at System.Data.Linq.Mapping.MappedMetaModel.InitStaticTableTypes.

I've built this test like in my previous post

best regards,

Laurent

Posted: Tue 01 Sep 2009 07:22
by lnu
bug or misused?

Posted: Tue 01 Sep 2009 12:06
by Shalex
External mapping will be implemented in the next build. Probably, you are using Microsoft's mappingSource - this will not work. We will implement our own class Devart.Data.Linq.Mapping.XmlMappingSource.

Posted: Tue 01 Sep 2009 12:09
by vpant
I imagine that you can also make a tool that can convert the .lqml file from the Entity Developer to an XML file for use with this Mapping source, right?

Posted: Thu 03 Sep 2009 09:23
by AndreyR
We plan to generate an additional XML with model and also to support the .lqml file as XML Source.