New Posts New Posts RSS Feed: Getting Connection object
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Getting Connection object

 Post Reply Post Reply
Author
orcities View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Aug-2007
Location: United States
Posts: 454
Post Options Post Options   Quote orcities Quote  Post ReplyReply Direct Link To This Post Topic: Getting Connection object
    Posted: 09-Sep-2010 at 3:38pm
In EF you can get the connection object of the Context. How do you do that with WinClient?
Back to Top
sbelini View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 13-Aug-2010
Location: Oakland
Posts: 786
Post Options Post Options   Quote sbelini Quote  Post ReplyReply Direct Link To This Post Posted: 14-Sep-2010 at 3:11pm

Hi,

In a n-tier application, you could get it on the server side only.
 
What exactly are you trying to accomplish?
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: 14-Sep-2010 at 4:29pm
DevForce delegates all database access to EF, but exposes neither the underylying EntityConnection or ObjectContext.  You can still create your own ObjectContext using the connection information from an EdmKey; you may have seen this approach in the sample NumericIdGenerator.  If you can provide more information on your requirements we'll see how to accomplish what you need within DevForce.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down