New Posts New Posts RSS Feed: EntityManager lifecycle
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

EntityManager lifecycle

 Post Reply Post Reply
Author
katit View Drop Down
Senior Member
Senior Member


Joined: 09-Sep-2011
Posts: 146
Post Options Post Options   Quote katit Quote  Post ReplyReply Direct Link To This Post Topic: EntityManager lifecycle
    Posted: 13-Sep-2011 at 7:36am
I was wondering what is a good practice on creating and disposing Entity Manager in Silverlight application.
 
Should I create one in every ViewModel or should I create one in bootstrapper and use it as a service?
 
Having one will probably yeld better performance but keeping entities/states from many viewmodels might be bad idea.
 
What works for you best?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down