Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error with ExecSprocScalar
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 5.0
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01581018
Message ID:
01581025
Vues:
32
Clearly, utilizing the Entity Framework (EF) requires a different approach. When retrieving an entity using a stored procedure using EF, MM.NET states to add the stored procedure to the EDM and then use the following method code:
return this.GetEntity(this.ObjectContext.OrdersSelectByPK(orderID));
I guess my question is how do I do the same for retrieving a scalar value (as opposed to an entity)?

Bob
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform