New Posts New Posts RSS Feed: How to change the Default Manager
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

How to change the Default Manager

 Post Reply Post Reply
Author
DavidKozikowski View Drop Down
Groupie
Groupie
Avatar

Joined: 02-Feb-2010
Location: Aurora, IN
Posts: 59
Post Options Post Options   Quote DavidKozikowski Quote  Post ReplyReply Direct Link To This Post Topic: How to change the Default Manager
    Posted: 23-Apr-2010 at 11:21am

I'm using 2 entity managers in my application. When I try to do a saveChanges() on the second one I get the below error.

 

+  base {"Type conflict:  the DefaultManager is currently of type PTXARCEntityManager"} System.Exception {IdeaBlade.Core.IdeaBladeException}

 

 

Can I change the default manager to the right Type?

 

Thought I saw this in the help docs somewhere.

 

P.S. Is there a DevForce Compiled help file to search?


Back to Top
ting View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 27-Mar-2009
Location: San Francisco
Posts: 427
Post Options Post Options   Quote ting Quote  Post ReplyReply Direct Link To This Post Posted: 26-Apr-2010 at 4:37pm
Hi David,
 
You can set the DefaultManager using the statement:
EntityManager.DefaultManager = [whatever instance you want]
 
We're working on getting all the documentation in html format on the web and searching it using a google site search.
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down