Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting error on OrderDetailEntities
Message
De
06/12/2010 13:40:43
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
06/12/2010 12:33:54
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Divers
Thread ID:
01491864
Message ID:
01491869
Vues:
29
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform