This is a migrated thread and some comments may be shown as answers.

vb.net linq query

1 Answer 16 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
David Ocasio
Top achievements
Rank 2
Veteran
David Ocasio asked on 30 Nov 2009, 12:44 PM
linq to entity querys are being flagged as errors

    Public Function getTopLevelLocationsByArea(ByVal IDLocAreaMaster As StringAs IQueryable(Of LocMaster)  
        Dim qLocArea As IQueryable(Of LocMaster) = _  
            From _  
                LM In Me.ObjectContext.LocMaster _  
                Join LT In Me.ObjectContext.LocTypeMaster On LM.LocTypeMaster Equals LT _  
            Where LT.LocAreaMaster.IDLocArea = IDLocAreaMaster And LM.LocMaster2 Is Nothing _  
            Select LM Order By LM.NameLoc  
        Return qLocArea  
    End Function 
 

see attached for snapshot of error

thanks
dco

1 Answer, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 01 Dec 2009, 01:40 PM
Hello David,

Thanks for the feedback. We were able to reproduce the issue and it'll be taken care of for the next official release.

Greetings,
Kaloyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Code Analysis
Asked by
David Ocasio
Top achievements
Rank 2
Veteran
Answers by
Kaloyan
Telerik team
Share this question
or