New Posts New Posts RSS Feed: Problem with PersistenceManager
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Problem with PersistenceManager

 Post Reply Post Reply
Author
Suah View Drop Down
Newbie
Newbie
Avatar

Joined: 06-Jul-2009
Posts: 16
Post Options Post Options   Quote Suah Quote  Post ReplyReply Direct Link To This Post Topic: Problem with PersistenceManager
    Posted: 06-Dec-2009 at 3:38am
What's difference of PersistenceManager and DomainModelEntityManager?

I can't get a PersistenceManager instance with the following code:

private PersistenceManager mPersMgr = PersistenceManager.DefaultManager;

This will have "Unable to obtain a valid configuration file" exception.

If I put the initialize into Load event handler, the variable null gets an instance, remains null;
I'm using DevForce WinClient 5.2.3.0 with Visual Studio 2008
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 07-Dec-2009 at 9:30am
PersistenceManager is a DevForce Classic concept.  There is no PersistenceManager in WinClient.  Instead use EntityManager or DomainModelEntityManager.  For more information, look at the Learning Resources on the subject of Business Object Persistence.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down