Print Page | Close Window

Can I fix up the ID's of only the entities I want to save?

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=214
Printed Date: 10-Apr-2025 at 12:33am


Topic: Can I fix up the ID's of only the entities I want to save?
Posted By: Customer
Subject: Can I fix up the ID's of only the entities I want to save?
Date Posted: 12-Jul-2007 at 3:52pm
Is there a way that when I have 2 new entities, to tell the persistence manager to only get a new ID for 1 of them (the one I wish to save).  I’d like to leave the other one alone until the user explicitly saves that one. 



Replies:
Posted By: IdeaBlade
Date Posted: 12-Jul-2007 at 3:53pm

There is now an option for fixing up the ids on just the objects that you are saving. It's described in the release notes for 3.4.x version I believe. 




Print Page | Close Window