Click here to Skip to main content
14,930,087 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Can you recommend some movies related to computers Pin
Member 1390489812-Jul-18 18:02
MemberMember 1390489812-Jul-18 18:02 
GeneralRe: Can you recommend some movies related to computers Pin
Member 1390489815-Jul-18 16:02
MemberMember 1390489815-Jul-18 16:02 
AnswerRe: Can you recommend some movies related to computers Pin
Eddy Vluggen12-Jul-18 0:16
professionalEddy Vluggen12-Jul-18 0:16 
GeneralRe: Can you recommend some movies related to computers Pin
Member 1390489812-Jul-18 18:06
MemberMember 1390489812-Jul-18 18:06 
GeneralRe: Can you recommend some movies related to computers Pin
Eddy Vluggen13-Jul-18 0:03
professionalEddy Vluggen13-Jul-18 0:03 
AnswerRe: Can you recommend some movies related to computers Pin
Gerry Schmitz12-Jul-18 8:27
mveGerry Schmitz12-Jul-18 8:27 
AnswerRe: Can you recommend some movies related to computers Pin
Vaclav_30-Jul-18 4:54
MemberVaclav_30-Jul-18 4:54 
QuestionHandling Optimistic Concurrency Violations Pin
Kevin Marois6-Jul-18 8:37
professionalKevin Marois6-Jul-18 8:37 
I've never worked with concurrency in SQL before.

I'm working on a WPF app hitting SQL through a Web API.

What's the right way to handle a concurrency violation? Do I need to check the timestamp myself in my DAL's update methods? Or will SQL throw an exception? If I have to check it myself, is throwing an exception the best way? What exception(s) are used for this?

What I'm really interested in here is the full workflow from the time the user clicks Save to either the data is saved or a violation is handled in the front end?

Thanks
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

AnswerRe: Handling Optimistic Concurrency Violations Pin
Eddy Vluggen6-Jul-18 10:24
professionalEddy Vluggen6-Jul-18 10:24 
GeneralRe: Handling Optimistic Concurrency Violations Pin
Kevin Marois6-Jul-18 10:34
professionalKevin Marois6-Jul-18 10:34 
GeneralRe: Handling Optimistic Concurrency Violations Pin
Eddy Vluggen6-Jul-18 10:36
professionalEddy Vluggen6-Jul-18 10:36 
AnswerRe: Handling Optimistic Concurrency Violations Pin
jschell16-Jul-18 15:58
Memberjschell16-Jul-18 15:58 
QuestionPython 2.7: Best way for processes to log to single log file Pin
ninjaef5-Jul-18 21:39
Memberninjaef5-Jul-18 21:39 
AnswerRe: Python 2.7: Best way for processes to log to single log file Pin
Eddy Vluggen6-Jul-18 10:26
professionalEddy Vluggen6-Jul-18 10:26 
QuestionMemento pattern and releasing resources Pin
Abivarius3-Jul-18 9:47
MemberAbivarius3-Jul-18 9:47 
GeneralRe: Memento pattern and releasing resources Pin
Richard MacCutchan4-Jul-18 1:07
mveRichard MacCutchan4-Jul-18 1:07 
AnswerRe: Memento pattern and releasing resources Pin
Gerry Schmitz4-Jul-18 8:03
mveGerry Schmitz4-Jul-18 8:03 
AnswerRe: Memento pattern and releasing resources Pin
Eddy Vluggen4-Jul-18 8:57
professionalEddy Vluggen4-Jul-18 8:57 
AnswerRe: Memento pattern and releasing resources Pin
Nathan Minier10-Jul-18 2:45
professionalNathan Minier10-Jul-18 2:45 
QuestionPython: how doI "select / switch in" a module/class to use at runtime Pin
ninjaef3-Jul-18 0:09
Memberninjaef3-Jul-18 0:09 
AnswerRe: Python: how doI "select / switch in" a module/class to use at runtime Pin
Richard MacCutchan3-Jul-18 2:13
mveRichard MacCutchan3-Jul-18 2:13 
GeneralRe: Python: how doI "select / switch in" a module/class to use at runtime Pin
ninjaef3-Jul-18 3:24
Memberninjaef3-Jul-18 3:24 
GeneralRe: Python: how doI "select / switch in" a module/class to use at runtime Pin
Richard MacCutchan3-Jul-18 4:26
mveRichard MacCutchan3-Jul-18 4:26 
GeneralRe: Python: how doI "select / switch in" a module/class to use at runtime Pin
ninjaef3-Jul-18 7:14
Memberninjaef3-Jul-18 7:14 
GeneralRe: Python: how doI "select / switch in" a module/class to use at runtime Pin
Richard MacCutchan3-Jul-18 8:25
mveRichard MacCutchan3-Jul-18 8:25 

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.