Page 1 of 1

Loadoptions

Posted: Tue 07 Jul 2009 15:08
by Zero-G.
Hey

I use your latest product of dotConnect for mySQL
I try to use LoadOptions, so that all needed data will be loaded when I need it.
But it doesn't work for me....
I have an association in the Entity Developer (And it also works by LinQ Querys) between the table "Kundenstamm" and "Auftrag"

Now I would use LoadOptions with the following code:

Code: Select all

        Dim Options As New Devart.Data.Linq.DataLoadOptions
        Options.LoadWith(Of Kundenstamm)(Function(Ku) Ku.Auftrag)
But "Ku.Auftrag" is no Member of "KU" - But there are NO Members at all.

What am I doing wrong?
THX

Posted: Wed 08 Jul 2009 12:39
by AndreyR
Thank you for the report, we have reproduced the problem.
As a temporary workaround, type the correct name of the EntitySet (it should be Ku.Auftrags, I suppose), it should work.

Posted: Wed 08 Jul 2009 12:45
by Zero-G.
Hey

Yes, it seems to work as a workaround.

Will this problem also be fixed in the new version, which should come on friday?

THX

Posted: Fri 10 Jul 2009 06:55
by AndreyR
No, this problem is not fixed yet. We are investigating it.

Posted: Thu 16 Jul 2009 14:48
by AndreyR
Unfortunately, there is no technical possibilty to change this behaviour.
Microsoft LINQ to SQL has the same problem.