Print Page | Close Window

Export/Import Cache on multiple databases

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=1284
Printed Date: 09-Apr-2025 at 12:43pm


Topic: Export/Import Cache on multiple databases
Posted By: Icheron
Subject: Export/Import Cache on multiple databases
Date Posted: 27-May-2009 at 3:08am
Hi,
I’m building an audit trail application with Ideablade. For my requirements I must export the audit trail settings (witch tables and witch columns should be updated) and import them on another database using the same application.

I tried saving the cache to a local file and load it back while I’m logged in on another database.  This gives an “Concurrency error” when I call the savechanges() method after loading the local cache.

What seems to be the problem or is there another way around this?

Thanks,

 

Icheron




Replies:
Posted By: davidklitzke
Date Posted: 27-May-2009 at 9:18am

Use the appropriate Merge strategy.  Read about Merge strategies in the Developer's Guide or DevForce Help.

There is also an Intermediate Tutorial on "Handling Concurrency Conflicts".



Print Page | Close Window