external mapping

Discussion of open issues, suggestions and bugs regarding LinqConnect – Devart's LINQ to SQL compatible ORM
Post Reply
lnu
Posts: 7
Joined: Tue 25 Aug 2009 15:14

external mapping

Post by lnu » Fri 28 Aug 2009 10:13

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

lnu
Posts: 7
Joined: Tue 25 Aug 2009 15:14

Post by lnu » Tue 01 Sep 2009 07:22

bug or misused?

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Tue 01 Sep 2009 12:06

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.

vpant
Posts: 2
Joined: Mon 31 Aug 2009 13:19

Post by vpant » Tue 01 Sep 2009 12:09

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?

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Thu 03 Sep 2009 09:23

We plan to generate an additional XML with model and also to support the .lqml file as XML Source.

Post Reply