Home  /  Questions  /  Question

275   99.7
Jul 29, 2010

Singleton Pattern in Entity Framework


Does anyone know if there is a place where I can use the Singleton Pattern in the Entity Framework?

129   96.7
Jul 29, 2010
With all due respect, I think the question has it all reversed. Instead of asking: I have a nail, how do I get it into the wall, you are asking: I have a hammer, what I can beat with it?

So, my question is: do you have a particular problem with the Entity Framework that needs a solution?

My 2 cents.

Yes can I have static reference to an entity framework using singleton pattern --- Imran Khan  Jul 30, 2010
What is a static reference to an entity framework? The whole entity framework? It sounds the same as 'rebooting the internet' :-) --- Bogusław Dobrogost  Aug 09, 2010