Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. WCF Data Services & EF - how to call an update stored procedure that does NOT deal with an entity

WCF Data Services & EF - how to call an update stored procedure that does NOT deal with an entity

Scheduled Pinned Locked Moved ASP.NET
csharpdatabasequestiondelphiwcf
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Duke Carey
    wrote on last edited by
    #1

    I've googled and binged and still feel wholly ignorant I tend the database side of a 'system' or process that our clients update by GETting task info from our web service into an Excel spreadsheet. As tasks are completed, they use a different tab on the spreadsheet to POST info on the task back through the web service. The web service is written in Delphi and hits stored procedures for both the GET and POST. FWIW, I don't have access to the Delphi source code. I'd like to learn to do some of this in .Net/C# and I have access to VS2013. The GET side returns what LINQ would consider a projection, so there is no 'entity' model in EF, just a complex type. I can duplicate the results of the GET using WCF Data Services. The POST side should talk to a stored procedure that requires a number of parameters that are likewise not an entity, but an amalgam of properties from a couple of SQL tables. This is where I cannot figure things out and can't find any discussion of anything similar. First, the vast majority of examples deal with querying an OData service and the few that deal with POSTing all assume you're creating a new ENTITY or updating an existing one. So, finally, the question: can anybody tell me if what I'd like to do is even possible with WCF Data Services & EF and, if so, in general terms HOW. If the answer is that I can't do this in WCF DS & EF, then what do you recommend as the means by which I can learn how to do this, and actually accomplish it?

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups