Problem with LINQ Queries...

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
Zero-G.
Posts: 391
Joined: Sat 09 Dec 2006 12:20

Problem with LINQ Queries...

Post by Zero-G. » Tue 11 Nov 2008 13:29

Hey
I use VB.NET 2008 + SP1 & your components of dotConnector 5 BETA for mySQL

In my project, I always have to write the long term of LINQ's like:

Code: Select all

Dim Krankenkassa As System.Linq.IQueryable(Of voptneuModel.krankenkassa) = _
            From K In Entities.krankenkassa
Because, this is not working:

Code: Select all

Dim Krankenkassa = From K in Entites.krankenkassa...
Why is this?

Zero-G.
Posts: 391
Joined: Sat 09 Dec 2006 12:20

Post by Zero-G. » Thu 13 Nov 2008 08:14

Hey

Found out the problem for myself...
The problem was caused, because I have had Option Infer Set to Off. - This has to be ON

THX

Post Reply