NullReferenceException in Table.InsertOnSubmit

NullReferenceException in Table.InsertOnSubmit

Postby » Fri 03 Jun 2011 10:13

The relevant stack trace is:

at Devart.Data.Linq.Table.a(Object A_0)
at Devart.Data.Linq.Table.a(Object A_0, MetaType A_1, Dictionary`2 A_2, Boolean A_3)
at Devart.Data.Linq.Table.a(Object A_0, Boolean A_1, Boolean A_2)
at Devart.Data.Linq.Table`1.InsertOnSubmit(TEntity entity)

I have the feeling that you have to spend more time to check the internal conditions...
LinqConnect is fast, comfortable, but I feel you released 2.5 without comprehensive testing.
Posts: 10
Joined: Mon 30 May 2011 20:58

Postby StanislavK » Fri 03 Jun 2011 13:37

Could you please describe in more details the scenario, in which this problem occurs? For example, please describe the entity being inserted (i.e., the data types used in its members, and whether it has associations or participates in an inheritance hierarchy). If possible, please send us the script needed to generate the corresponding database table, or the model you are working with.

We couldn't reproduce the problem in simple situations.
Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Return to LinqConnect (LINQ to SQL support)