Click here to Skip to main content
15,899,126 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Does a developer need local administrator rights? Pin
Windswept16-Nov-09 21:41
Windswept16-Nov-09 21:41 
GeneralRe: Does a developer need local administrator rights? Pin
Ian Shlasko17-Nov-09 3:32
Ian Shlasko17-Nov-09 3:32 
AnswerRe: Does a developer need local administrator rights? Pin
Sir Dot Net19-Nov-09 7:50
Sir Dot Net19-Nov-09 7:50 
AnswerRe: Does a developer need local administrator rights? [modified] Pin
Flint-Bear8-Dec-09 5:14
Flint-Bear8-Dec-09 5:14 
QuestionEmpty IEnumerable or null Pin
Gideon Engelberth10-Nov-09 9:19
Gideon Engelberth10-Nov-09 9:19 
AnswerRe: Empty IEnumerable or null Pin
Luc Pattyn10-Nov-09 13:36
sitebuilderLuc Pattyn10-Nov-09 13:36 
GeneralRe: Empty IEnumerable or null Pin
Gideon Engelberth16-Nov-09 5:21
Gideon Engelberth16-Nov-09 5:21 
AnswerRe: Empty IEnumerable or null Pin
David Skelly10-Nov-09 22:47
David Skelly10-Nov-09 22:47 
I would return an empty enumerable from NextVersions. That way, the consumer of this property does not have to include a test for whether the IEnumerable is Nothing, but can just go ahead use it. If it's empty, then the iteration over the enumerator will simply do nothing. That makes life simpler for the person using your VersionedDataObject and takes away the risk of getting a NullReferenceException when someone forgets to check for Nothing. So, you can just do something like:
For Each version In myVersionedObject.NextVersions
    ' do something with version
Next

GeneralRe: Empty IEnumerable or null Pin
Gideon Engelberth16-Nov-09 5:22
Gideon Engelberth16-Nov-09 5:22 
QuestionRun to Completion Pin
Leslie Sanford4-Nov-09 13:51
Leslie Sanford4-Nov-09 13:51 
QuestionWindows Service Pin
Archimedes2427-Oct-09 22:13
professionalArchimedes2427-Oct-09 22:13 
AnswerRe: Windows Service Pin
Covean27-Oct-09 23:07
Covean27-Oct-09 23:07 
AnswerRe: Windows Service Pin
Sir Dot Net19-Nov-09 8:01
Sir Dot Net19-Nov-09 8:01 
AnswerRe: Windows Service Pin
puri keemti7-Dec-09 0:39
puri keemti7-Dec-09 0:39 
QuestionUsing MSMQ along with BizTalk Pin
Member 188237827-Oct-09 9:18
Member 188237827-Oct-09 9:18 
AnswerRe: Using MSMQ along with BizTalk Pin
Member 188237827-Oct-09 23:55
Member 188237827-Oct-09 23:55 
QuestionFinancial Software Designs Pin
motapa21-Oct-09 8:36
motapa21-Oct-09 8:36 
AnswerRe: Financial Software Designs Pin
Eddy Vluggen30-Oct-09 4:18
professionalEddy Vluggen30-Oct-09 4:18 
AnswerRe: Financial Software Designs Pin
puri keemti7-Dec-09 0:41
puri keemti7-Dec-09 0:41 
QuestionOpinion survey about ORM / DAL tools Pin
midix20-Oct-09 23:44
midix20-Oct-09 23:44 
AnswerRe: Opinion survey about ORM / DAL tools Pin
midix9-Nov-09 8:40
midix9-Nov-09 8:40 
AnswerRe: Opinion survey about ORM / DAL tools Pin
Sir Dot Net19-Nov-09 8:04
Sir Dot Net19-Nov-09 8:04 
QuestionHelp files fomat Pin
marca2928-Oct-09 1:42
marca2928-Oct-09 1:42 
QuestionQuestion on dependency of Business Layer with Data Access Layer Pin
meeram39527-Sep-09 21:54
meeram39527-Sep-09 21:54 
AnswerRe: Question on dependency of Business Layer with Data Access Layer Pin
Ian Shlasko28-Sep-09 3:21
Ian Shlasko28-Sep-09 3:21 

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.