Currently, our application uses SQL Server CE as our database. We decided to move forward (correct me if I am wrong) to SQL Server 2012 Express for scale and performance reasons.
My question: we need to migrate the database from SQL Server CE to 2012 Express with all SB attributes (schema, indexes, foreign keys, Data ...)
This migration should be performed in an upgrade process which handle in C# code.
How can we do it?