Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error with ExecSprocScalar
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 5.0
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01581018
Message ID:
01581025
Views:
34
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
Previous
Reply
Map
View

Click here to load this message in the networking platform