Problem with PersistenceManager
Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2009
Forum Discription: For .NET 3.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=1576
Printed Date: 05-Apr-2025 at 6:20am
Topic: Problem with PersistenceManager
Posted By: Suah
Subject: Problem with PersistenceManager
Date 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
|
Replies:
Posted By: davidklitzke
Date 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.
|
|