Print Page | Close Window

About RejectChanges

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=244
Printed Date: 25-Mar-2025 at 10:44am


Topic: About RejectChanges
Posted By: fskang
Subject: About RejectChanges
Date Posted: 13-Jul-2007 at 1:09am

I Create more than 300 Entities. than I Call PersisitencManager.RejectChanes to cancel these Entites. I find it's very slow. what can I do ? Thank you.




Replies:
Posted By: davidklitzke
Date Posted: 13-Jul-2007 at 4:31pm
fskang,
 
Could you send your code to mailto:support@ideablade - support@ideablade  ?
 
I tried creating 1000 Employees using the Employee Create method used in the IdeaBlade Tutorials and then using PM.RejectChanges() to undo the changes.   I can do all of this in less than 1 second.
 



Print Page | Close Window