>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