Additional case for EnsureCompatibility()

Jan 30, 2011 at 6:16 PM
Edited Jan 30, 2011 at 6:18 PM

I noticed the more recent builds have an EnsureCompatibility() method in the DataStore, this looks particularly useful for being able to easily handle application upgrades which involve extensions to the database schema. I've used this method in my application and have come across a shortcoming, if the store doesn't exist it will be created and if fields have been added to an entity these get added, however if a new entity has been added (rather than altered) it is not capable of creating a table in an existing store for the new entity. I think this would be a very handy scenario to be supported.

I am using the SQL CE data store in my application.

Coordinator
Feb 1, 2011 at 12:28 AM

An excellent suggestion.  Put it in the Issue Tracker as a requested feature and we'll see what we can do to get it in the next drop.

Coordinator
Mar 8, 2011 at 8:41 PM

Just completing the loop here - the last source check ( a few weeks ago) in adds this capability.