Click here to Skip to main content
16,005,149 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to auto detect row version, if some one update manually Pin
Md. Marufuzzaman30-Dec-11 2:30
professionalMd. Marufuzzaman30-Dec-11 2:30 
GeneralRe: How to auto detect row version, if some one update manually Pin
OriginalGriff30-Dec-11 3:43
mveOriginalGriff30-Dec-11 3:43 
GeneralRe: How to auto detect row version, if some one update manually Pin
Luc Pattyn30-Dec-11 3:48
sitebuilderLuc Pattyn30-Dec-11 3:48 
AnswerRe: How to auto detect row version, if some one update manually Pin
jschell30-Dec-11 8:48
jschell30-Dec-11 8:48 
GeneralRe: How to auto detect row version, if some one update manually Pin
SledgeHammer0130-Dec-11 9:37
SledgeHammer0130-Dec-11 9:37 
GeneralRe: How to auto detect row version, if some one update manually Pin
jschell31-Dec-11 13:21
jschell31-Dec-11 13:21 
GeneralRe: How to auto detect row version, if some one update manually Pin
SledgeHammer011-Jan-12 8:08
SledgeHammer011-Jan-12 8:08 
GeneralRe: How to auto detect row version, if some one update manually Pin
jschell2-Jan-12 10:35
jschell2-Jan-12 10:35 
SledgeHammer01 wrote:
10 minutes is certainly not reasonable. Stock tickers need to update at LEAST once per second. Still connecting directly to the database is generally a bad design.


First I didn't say it was an absolute. There are certain to be some apps that require such functionality. Most do not.
Second I didn't say connecting to the database directly was a good idea.

SledgeHammer01 wrote:
I already said that pushing directly from the database is not a good idea


As I did as well.

SledgeHammer01 wrote:
Having your database accessible from outside the firewall is the worst idea ever


Which has nothing to do with what I said.
Nor with what the OP said.

But to be clear I agree with that. However the reasons for that has nothing to do with what the OP was asking.

SledgeHammer01 wrote:
Ever been to a doctors office recently? You know how they are all fancy and computerized now? So you get your examination or whatever and you leave the room. The doctor starts typing up notes about your appointment. At the same time you are talking to the receptionist to schedule your next appointment. Doc saves his notes. Ooops... now receptionist saves your new appointment date. You just stomped all over docs notes because receptionist is the last writer!!! OH NOOOO!!! you cut into his golf time!!! now he has to retype his notes and gets pissed at you!!


Excellent example. And guess what? I have in fact work on exactly that sort of app.

I am guessing you haven't because your scenario, at best, indicates a horrific design. Patient records are not part of the scheduling system. The schedule points to a patient - it isn't part of the patient. And examine notes and/or patient notes would not update the entire patient record anyways.

(Not to mention of course that a true receptionist is not even going to have access to the patient medical data - the exact place where the doctors notes go.)

SledgeHammer01 wrote:
You could of course "lock" the record while it is being edited,


No I prefer to create correct designs and use real business rules.
QuestionHelp me Convert this WPF to Silverlight Pin
Xarzu29-Dec-11 14:34
Xarzu29-Dec-11 14:34 
AnswerRe: Help me Convert this WPF to Silverlight Pin
Richard MacCutchan29-Dec-11 23:21
mveRichard MacCutchan29-Dec-11 23:21 
QuestionWould like help on technique to debug a dll Pin
turbosupramk329-Dec-11 12:09
turbosupramk329-Dec-11 12:09 
AnswerRe: Would like help on technique to debug a dll Pin
Pete O'Hanlon29-Dec-11 12:21
mvePete O'Hanlon29-Dec-11 12:21 
GeneralRe: Would like help on technique to debug a dll Pin
turbosupramk329-Dec-11 13:06
turbosupramk329-Dec-11 13:06 
GeneralRe: Would like help on technique to debug a dll Pin
harold aptroot29-Dec-11 12:30
harold aptroot29-Dec-11 12:30 
GeneralRe: Would like help on technique to debug a dll Pin
turbosupramk329-Dec-11 13:06
turbosupramk329-Dec-11 13:06 
GeneralRe: Would like help on technique to debug a dll Pin
harold aptroot29-Dec-11 13:30
harold aptroot29-Dec-11 13:30 
AnswerRe: Would like help on technique to debug a dll Pin
jschell29-Dec-11 14:12
jschell29-Dec-11 14:12 
GeneralRe: Would like help on technique to debug a dll Pin
turbosupramk329-Dec-11 15:44
turbosupramk329-Dec-11 15:44 
GeneralRe: Would like help on technique to debug a dll Pin
jschell30-Dec-11 8:21
jschell30-Dec-11 8:21 
GeneralRe: Would like help on technique to debug a dll Pin
OriginalGriff30-Dec-11 8:35
mveOriginalGriff30-Dec-11 8:35 
QuestionXML problem with retrieving value Pin
Cindy MCS29-Dec-11 8:34
Cindy MCS29-Dec-11 8:34 
AnswerRe: XML problem with retrieving value Pin
PIEBALDconsult29-Dec-11 8:58
mvePIEBALDconsult29-Dec-11 8:58 
GeneralRe: XML problem with retrieving value Pin
Cindy MCS29-Dec-11 9:34
Cindy MCS29-Dec-11 9:34 
GeneralRe: XML problem with retrieving value Pin
PIEBALDconsult29-Dec-11 9:56
mvePIEBALDconsult29-Dec-11 9:56 
AnswerRe: XML problem with retrieving value Pin
OriginalGriff29-Dec-11 9:00
mveOriginalGriff29-Dec-11 9:00 

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.