Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

New Post: DbContext Connection events or overrides

$
0
0
Yes--that's the first thing I tried.It seems to be a rabbit-hole. You end up having to override the ConnectionFactory, Provider, Manifest, and all sorts of other stuff. The overhead to inject at the connection level is very expensive. I've been unable to to get a custom provider written and working against EF so far.

On Fri, Oct 26, 2012 at 9:26 AM, AndrewPeters <notifications@codeplex.com> wrote:

From: AndrewPeters

Have you considered wrapping the connection and overriding Close()?

Read the full discussion online.

To add a post to this discussion, reply to this email (entityframework@discussions.codeplex.com)

To start a new discussion for this project, email entityframework@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on CodePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at CodePlex.com




--
Excellence is an art won by training and habituation. We are what we repeatedly do. Excellence then is not an act, but a habit.
--Aristotle

The two enemies of the people are criminals and government, so let us tie the second down with the chains of the Constitution so the second will not become the legalized version of the first.

--Thomas Jefferson

Viewing all articles
Browse latest Browse all 10318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>