Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting error on OrderDetailEntities
Message
From
06/12/2010 13:40:43
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
06/12/2010 12:33:54
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01491864
Message ID:
01491869
Views:
28
>In MM 4.0
>In Jump Start: Creating Entity Framework Business Objects - VB
>In Step 10: Enhancing the OrderDetail Business Object
>In code:
>Dim query As IQueryable(Of OrderDetailEntity) = _
> From o In Me.ObjectContext.OrderDetailEntities _
> Where o.OrderID = orderID _
> Select o
>"Me.ObjectContext.OrderDetailEntities" is underlined with the message
>" not a member of Acme.OrderSystem.BusinessEF.EntityDataModelContainer"
>
>Any idea why this should be occurring?
>
>Thanks.

I would check the namespace included in both files and make sure they are the same. Sounds like you may have different namespaces. Another possibility to check is to verify the OrderDetailEntities (is that really plural?) is a "public" class.
Tim
Timothy Bryan
Previous
Reply
Map
View

Click here to load this message in the networking platform