Click here to Skip to main content
15,891,033 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Need help Pin
Wdutch10-Sep-14 4:47
Wdutch10-Sep-14 4:47 
GeneralRe: Need help Pin
Richard MacCutchan10-Sep-14 21:07
mveRichard MacCutchan10-Sep-14 21:07 
AnswerRe: Need help Pin
Eddy Vluggen10-Sep-14 0:23
professionalEddy Vluggen10-Sep-14 0:23 
AnswerRe: Need help Pin
Ganesh KP13-Sep-14 21:48
professionalGanesh KP13-Sep-14 21:48 
QuestionSQL Server to .Net error handling Pin
julian@giant4-Sep-14 0:15
julian@giant4-Sep-14 0:15 
AnswerRe: SQL Server to .Net error handling Pin
Eddy Vluggen4-Sep-14 0:33
professionalEddy Vluggen4-Sep-14 0:33 
GeneralRe: SQL Server to .Net error handling Pin
julian@giant4-Sep-14 0:36
julian@giant4-Sep-14 0:36 
GeneralRe: SQL Server to .Net error handling Pin
Eddy Vluggen4-Sep-14 9:56
professionalEddy Vluggen4-Sep-14 9:56 
No webservices planned, no API, no addins? Then it still depends on how the database is going to be used.

Most of the problems can be blocked using simple constructions, and most of it will require some handling at a higher level. Prohibiting the insertion of an order-line without an existing order is easily done by defining keys and a relation. Cascading deletes are dandy if you want to delete all order-lines if an order is deleted.

That is assuming you allow access to the tables. It can be beneficial to remove that access and only allow stored procedures. In that case, you probably want to have them "succeed" or "fail" as a single atomic operation, inside a transaction that is either commited or rolled back.

Have a whiteboard? Draw a large T, title the left column "advantages" and the right one "disadvantages" Smile | :)
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

GeneralRe: SQL Server to .Net error handling Pin
julian@giant4-Sep-14 23:11
julian@giant4-Sep-14 23:11 
AnswerRe: SQL Server to .Net error handling Pin
Richard Deeming4-Sep-14 1:29
mveRichard Deeming4-Sep-14 1:29 
GeneralRe: SQL Server to .Net error handling Pin
julian@giant4-Sep-14 2:21
julian@giant4-Sep-14 2:21 
AnswerRe: SQL Server to .Net error handling Pin
jschell5-Sep-14 10:19
jschell5-Sep-14 10:19 
GeneralRe: SQL Server to .Net error handling Pin
julian@giant7-Sep-14 22:46
julian@giant7-Sep-14 22:46 
QuestionDisaster Recovery for web services Pin
low19886-Aug-14 6:16
low19886-Aug-14 6:16 
AnswerRe: Disaster Recovery for web services Pin
jschell10-Aug-14 7:26
jschell10-Aug-14 7:26 
AnswerRe: Disaster Recovery for web services Pin
Swinkaran10-Aug-14 23:25
professionalSwinkaran10-Aug-14 23:25 
AnswerRe: Disaster Recovery for web services Pin
Duncan Edwards Jones26-Aug-14 23:16
professionalDuncan Edwards Jones26-Aug-14 23:16 
QuestionWhat is the goal of Entity Framework? Pin
Bastien Vandamme31-Jul-14 17:25
Bastien Vandamme31-Jul-14 17:25 
AnswerRe: What is the goal of Entity Framework? Pin
Pete O'Hanlon31-Jul-14 20:16
mvePete O'Hanlon31-Jul-14 20:16 
AnswerRe: What is the goal of Entity Framework? Pin
Rowdy Raider6-Aug-14 7:09
Rowdy Raider6-Aug-14 7:09 
AnswerRe: What is the goal of Entity Framework? PinPopular
Duncan Edwards Jones26-Aug-14 1:18
professionalDuncan Edwards Jones26-Aug-14 1:18 
GeneralRe: What is the goal of Entity Framework? Pin
Eddy Vluggen26-Aug-14 3:01
professionalEddy Vluggen26-Aug-14 3:01 
GeneralRe: What is the goal of Entity Framework? Pin
Duncan Edwards Jones26-Aug-14 3:06
professionalDuncan Edwards Jones26-Aug-14 3:06 
QuestionDirectory Monitor -> Launch a Script/Program Design Question? Pin
Kirk 1038982130-Jul-14 4:19
Kirk 1038982130-Jul-14 4:19 
AnswerRe: Directory Monitor -> Launch a Script/Program Design Question? Pin
Bernhard Hiller30-Jul-14 20:47
Bernhard Hiller30-Jul-14 20:47 

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.