15.09.2008

Entity Framework Singleton Pattern

When we are starting a new project i've decided to use entity framework to test and decide using nhibernate or entity frm. We said that changing the entity model into singleton can help performance. Things were good when selecting put started to get exceptions. So when you are using entity frm don't put entitycontext to singleton cause inside of this class manages the entities in singleton pattern.

Hiç yorum yok: