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 6324409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:41:52+00:00 2026-05-24T16:41:52+00:00

At the moment I’ve got a big Entity Data Model (.edmx) with a database

  • 0

At the moment I’ve got a big Entity Data Model (.edmx) with a database underneath it. Now I want to give people who use my site the option to edit those entities but only after I gave approval of the change.

So this would mean that I want to “change” the entity but not really save it yet, after I accepted the change it would override the enity with the changed one. But when I did this I would still like to be able to rollback the change afterwards.

Now I’ve come up with a few solutions:

1) Make a entity with like: [ID], [ChangeApplyDate] [ChangeApproveDate] [Entity before change] [Entity after change] [Accepted (boolean)]

2) Make an extra entity with the changed values and a link to the “Original” entity and have a boolean in this entity if it is the current approved one or not. (this would not create a new table but expand the table like, “Book”, with a few extra properties.

Now I would like to know how you think about those solutions and if you ever made something like this?

  • 1 1 Answer
  • 0 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-24T16:41:53+00:00Added an answer on May 24, 2026 at 4:41 pm

    There are two things here:

    1. Keep a list of all previous versions. Have a look at my answer to this question: Ideas on database design for capturing audit trails

    2. Controll the acceptance of changes. To do this you could add an approval flag to each table, which only you have access to.

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

Sidebar

Related Questions

At moment I want to implement picture upload without using any plug-ins. My upload
At the moment we use HSQLDB as an embedded database, but we search for
At the moment, our application uses the Trident Win32 component, but we want to
At the moment I am using this code to check if the database is
Big discussions in the moment at our company. How to handle updates to PHP
At the moment I have a website that is connecting to the database the
At the moment I am using Access & an OleDb connection to store data.
At the moment I have a database with md5 passwords stored, a few years
At this moment I start work on small web application based on MVC. Now
At the moment my code (PHP) has too many SQL queries in it. eg...

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.