linking the EF 4.0 context to the WCF call context

Posted by pablocastilla on Stack Overflow See other posts from Stack Overflow or by pablocastilla
Published on 2010-03-23T10:51:22Z Indexed on 2010/03/23 10:53 UTC
Read the original article Hit count: 532

Filed under:
|

Hello,

I would like to create an Entity Framework 4.0 context when a call is received and invoke to save changes when it finish, (something like JPA).

I think it is a good idea because I can use the state for all the call, It is short and encapsulate enogh to be threadsafe and long enough for caching calls and the context itself.

Any idea how is the best way for implement this?

© Stack Overflow or respective owner

Related posts about entity-framework

Related posts about wcf