Quantcast
Channel: URF - Unit of Work & (extensible/generic) Repositories Framework
Viewing all articles
Browse latest Browse all 1539

New Post: Multiple Entity Framework Contexts(Multiple database types) on the same time.

$
0
0
Your absolutely right, I have included a singleton Lifetime Management in my example, however depending on the usage scenario i.e. ASP.NET / MVC then you could use Unity.Mvc.PerRequestLifetimeManager.

Good point about the using the expression c to resolve the context rather than the container instance.

Thanks

Toby.

Viewing all articles
Browse latest Browse all 1539

Trending Articles



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