Hi Giacomo,
Can you provide a stack trace? Are there specific calls made to other
DataContext members?

Pascal.

jabber/gtalk: [email protected]
msn: [email protected]



On Wed, Mar 25, 2009 at 09:26, Giacomo Tesio <[email protected]> wrote:

> I'm preparing a test to submit, but I'm getting a strange
> NullReferenceException in the DataContext.Init on
>             // initialize the mapping information
>             if (mappingSource == null)
>                 mappingSource = new AttributeMappingSource();
>             Mapping = *mappingSource.GetModel*(GetType());
>
> Since mappingSource is an XmlMappingSource which work with Linq to SQL,
> that's execption is probably due to a bug in our DataContext...
>
> I'm not sure about but I think it would be better to be able to use
> external mapping, since attribute based mapping would require recompilation
> just to pass from sql lite to a real db.
>
>
> Can anyone address (or help me to address) this bug?
>
>
> Giacomo
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to