Is this feasible? An EF "relay"? RRS feed

  • Question

  • I think I need some expert EF advice for this.

    I have a WinForms app that uses an EF layer to connect directly to the database.  I need to move to a service model to disconnect the client from the database.  Here is my idea and I am wondering how feasible it is.

    • Move the existing EF layer to the web service as-is and connect it to the DB from there.
    • Modify the EF layer that is used by the WinForms app in such a way that it acts just like the original EF layer for the WinForms app, but it becomes a relay to the EF layer on the web service.  The client-side EF would connect to the web service EF and relay its data to and from the latter.

    Has anyone done something like this before? 

    Thanks in advance for your input.


    Friday, September 27, 2013 6:58 PM