WCF Data Services Feature Suggestions

Retrieve DbContext in EntityFrameworkDataService

There doesn't seem to be an obvious way to get the underlying `DbContext` object from the `EntityFrameworkDataService` API for Entity Framework 6 in the new out-of-band WCF Data Services Entity Framework provider package [0].

There is at least one comment in the announcement article and one thread [1] on the forums about this, so I guess a little note to clarify this (for example on the blog) would be greatly appreciated.

Note: Making the `DbContext` accessible via the `CurrentDataSource` property (as it was before) would be very nice, as not doing so breaks a lot of code for no obvious gain.

0: <https://blogs.msdn.com/b/astoriateam/archive/2013/10/02/using-wcf-data-services-5-6-0-with-entity-framework-6.aspx>
1: <https://social.msdn.microsoft.com/Forums/en-US/59aba0c8-25bc-4c67-b1c8-f2086fe94dfa/56ef6acitions-broken?forum=adodotnetdataservices>

98 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    tnetne shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    2 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base