New Posts New Posts RSS Feed: Need to call Stored procedure on server
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Need to call Stored procedure on server

 Post Reply Post Reply
Author
hijaggu View Drop Down
Newbie
Newbie
Avatar

Joined: 26-Sep-2010
Posts: 21
Post Options Post Options   Quote hijaggu Quote  Post ReplyReply Direct Link To This Post Topic: Need to call Stored procedure on server
    Posted: 25-Feb-2013 at 12:04am
How do I call stored procedure on server using untyped entity manager? I am unable to get stored procedure query.
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 25-Feb-2013 at 9:59am
The methods auto-generated by DevForce for stored procedures are just helper methods to make query execution easier, they aren't required.  In your code you can "new" a StoredProcQuery just as you see done in the helper methods, and then execute that query.  Here's more information on the StoredProcQuery.
 
As an alternative, you can use the EntityManager copy constructor to create a typed entity manager from the base EM, giving you access to your EntityQuery and StoredProcQuery methods and properties.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down