Click here to Skip to main content
15,890,670 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Execute multiple sql queries with one database hit Pin
Sascha Lefèvre28-Jun-15 1:11
professionalSascha Lefèvre28-Jun-15 1:11 
GeneralRe: Execute multiple sql queries with one database hit Pin
Dave Kreskowiak28-Jun-15 2:17
mveDave Kreskowiak28-Jun-15 2:17 
GeneralRe: Execute multiple sql queries with one database hit Pin
satc28-Jun-15 2:20
satc28-Jun-15 2:20 
GeneralRe: Execute multiple sql queries with one database hit Pin
Dave Kreskowiak28-Jun-15 10:40
mveDave Kreskowiak28-Jun-15 10:40 
GeneralRe: Execute multiple sql queries with one database hit Pin
Dave Kreskowiak28-Jun-15 2:09
mveDave Kreskowiak28-Jun-15 2:09 
GeneralRe: Execute multiple sql queries with one database hit Pin
satc28-Jun-15 2:12
satc28-Jun-15 2:12 
QuestionCreate a kind of "recovery script" for a deleted object in Entity Pin
satc27-Jun-15 19:06
satc27-Jun-15 19:06 
AnswerRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Dave Kreskowiak27-Jun-15 19:34
mveDave Kreskowiak27-Jun-15 19:34 
Holy crap this is over complicating things.

You've already been told how to do this. Just add a field to the root object that you can delete as "Deleted". That's it. No complicated "scripting", validation, reinserting, recreating child objects, blah, blah, blah.

One very simple operation undeletes an object and doesn't bloat the crap out of your database with "scripts" to recreate anything.
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
satc27-Jun-15 19:40
satc27-Jun-15 19:40 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Richard MacCutchan27-Jun-15 21:16
mveRichard MacCutchan27-Jun-15 21:16 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
satc27-Jun-15 22:34
satc27-Jun-15 22:34 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Eddy Vluggen28-Jun-15 0:16
professionalEddy Vluggen28-Jun-15 0:16 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
satc28-Jun-15 0:51
satc28-Jun-15 0:51 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Eddy Vluggen28-Jun-15 1:01
professionalEddy Vluggen28-Jun-15 1:01 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
satc28-Jun-15 1:07
satc28-Jun-15 1:07 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Dave Kreskowiak28-Jun-15 2:03
mveDave Kreskowiak28-Jun-15 2:03 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
satc28-Jun-15 2:07
satc28-Jun-15 2:07 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Dave Kreskowiak28-Jun-15 2:18
mveDave Kreskowiak28-Jun-15 2:18 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
satc28-Jun-15 2:22
satc28-Jun-15 2:22 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Dave Kreskowiak28-Jun-15 2:33
mveDave Kreskowiak28-Jun-15 2:33 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
satc28-Jun-15 2:42
satc28-Jun-15 2:42 
GeneralRe: Create a kind of "recovery script" for a deleted object in Entity Pin
Dave Kreskowiak28-Jun-15 6:03
mveDave Kreskowiak28-Jun-15 6:03 
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 

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.