Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1958504
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T08:20:06+00:00 2026-05-17T08:20:06+00:00

Situation I’m creating a C#/WPF 4 application using a SQL Compact Edition database as

  • 0

Situation

I’m creating a C#/WPF 4 application using a SQL Compact Edition database as a backend with the Entity Framework and deploying with ClickOnce.

I’m fairly new to applications using databases, though I don’t suspect I’ll have much problem designing and building the original database. However, I’m worried that in the future I’ll need to add or change some functionality which will require me to change the database design after the database is already deployed and the user has data in the database.

Questions

  1. Is it even possible to push an updated database design out to users via a clickonce update in the same way it is for code changes?

  2. If I did, how would the user’s data be affected?

  3. How is this sort of thing done in real situations? What are some best-practices?

I figure that in the worst case, I’d need to build some kind of “version” number into the database or program settings and create some routine to migrate the user’s current version of the database to the new one.

I appreciate any insight into my problem. Thanks a lot.

  • 1 1 Answer
  • 3 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T08:20:06+00:00Added an answer on May 17, 2026 at 8:20 am

    There are some ‘tricks’ that are employed when designing databases to allow for design changes.

    Firstly, many database designers create views to code against, rather than coding directly to the tables. This allows tables to be altered (split or merged, etc) while only requiring that the views are updated. You may want to investigate database refactoring techniques for this.

    Secondly, you can indeed add versioning information to the database (commonly done as a ‘version’ table with a single field). Updating the database can be done through code or through scripts. One system I worked on would automatically check the database version and then progressively update the schema through versions in code until it matched the required version for the runtime. This was quite an undertaking.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Situation: WPF application, .NET4, DataSource (MS SQL Server 2008) created with the designer Problem:
Situation: I am using the Navigation Based Application project template. And my root view
Situation: A PHP application with multiple installable modules creates a new table in database
Situation: our production mysql database makes a daily dump into a .sql file. I'd
Situation I'm using matchbox keyboard which is X11 based application. When any application is
Situation: 1. Linux TCP server 2 Windows C# client application The server receives messages
Situation is you have to develop an application against an Active Directory Tree. Want
Situation Well, as you can see below, I have a main App, creating a
Situation: I am trying to write a efficient query using "LIKE" statement to look
Situation: I have an Xcode project based on the Navigation-Based-Application template. So that means

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.