Click here to Skip to main content
15,887,267 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Eddy Vluggen28-Jun-15 2:33
professionalEddy Vluggen28-Jun-15 2:33 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
satc28-Jun-15 2:44
satc28-Jun-15 2:44 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Eddy Vluggen28-Jun-15 2:49
professionalEddy Vluggen28-Jun-15 2:49 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
satc28-Jun-15 2:52
satc28-Jun-15 2:52 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Eddy Vluggen28-Jun-15 2:58
professionalEddy Vluggen28-Jun-15 2:58 
AnswerRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Sascha Lefèvre28-Jun-15 1:10
professionalSascha Lefèvre28-Jun-15 1:10 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
satc28-Jun-15 1:26
satc28-Jun-15 1:26 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Sascha Lefèvre28-Jun-15 1:39
professionalSascha Lefèvre28-Jun-15 1:39 
satc wrote:
So , I would like to add only 2 recovery stages.
A two-stage soft-delete would kind of be like that. Another idea would be to require confirmation for hard-deletion from a second user.

satc wrote:
But sorry , as we spend time discussing if this is/ or isn't good to implement , why someone doesn't give an idea ( if exists of course ) to implement this ?
Because we deem it as best advice to discourage from doing that and probably no one here has done something like that yet.

A complication you probably haven't thought of yet: If your database schema changes your recovery scripts become incompatible. If I would be pressed to implement something like this I would have a second database with an identical schema where I would store the entities which were hard-deleted from the main database. If the schema should change, the same schema transformation could be applied to the second database.
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
satc28-Jun-15 1:54
satc28-Jun-15 1:54 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Sascha Lefèvre28-Jun-15 2:18
professionalSascha Lefèvre28-Jun-15 2:18 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
satc28-Jun-15 2:24
satc28-Jun-15 2:24 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Sascha Lefèvre28-Jun-15 2:36
professionalSascha Lefèvre28-Jun-15 2:36 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Eddy Vluggen28-Jun-15 2:37
professionalEddy Vluggen28-Jun-15 2:37 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Sascha Lefèvre28-Jun-15 2:43
professionalSascha Lefèvre28-Jun-15 2:43 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
satc28-Jun-15 2:46
satc28-Jun-15 2:46 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Sascha Lefèvre28-Jun-15 2:49
professionalSascha Lefèvre28-Jun-15 2:49 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Eddy Vluggen28-Jun-15 3:00
professionalEddy Vluggen28-Jun-15 3:00 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
satc28-Jun-15 8:25
satc28-Jun-15 8:25 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Eddy Vluggen28-Jun-15 8:47
professionalEddy Vluggen28-Jun-15 8:47 
AnswerRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Mycroft Holmes28-Jun-15 15:07
professionalMycroft Holmes28-Jun-15 15:07 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
satc28-Jun-15 16:04
satc28-Jun-15 16:04 
SuggestionRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Ralf Meier28-Jun-15 19:16
mveRalf Meier28-Jun-15 19:16 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
satc28-Jun-15 20:55
satc28-Jun-15 20:55 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Ralf Meier28-Jun-15 21:46
mveRalf Meier28-Jun-15 21:46 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
satc28-Jun-15 22:14
satc28-Jun-15 22:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.