Reputation: 9428
I want to remote all entities when user upgrade to newer version with newer model version. For example,
App version 1.0 & Model version 1 Table X Table Y
When upgrade to app version 1.1 & Model version 2, I add two tables Table H Table K
Table X and Y should be removed.
How to recognize the current data model version and execute these removal actions?
Upvotes: 0
Views: 116
Reputation: 2779
You do the migration with a custom migration policy and a mapping model.
Best regards,
sven.
Upvotes: 1