Click here to Skip to main content
15,917,329 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Multiple methods vs Single method with enum Pin
jschell21-Feb-14 9:05
jschell21-Feb-14 9:05 
GeneralRe: Multiple methods vs Single method with enum Pin
Harley L. Pebley21-Feb-14 9:54
Harley L. Pebley21-Feb-14 9:54 
AnswerRe: Multiple methods vs Single method with enum Pin
Bernhard Hiller18-Feb-14 21:34
Bernhard Hiller18-Feb-14 21:34 
GeneralRe: Multiple methods vs Single method with enum Pin
Eddy Vluggen19-Feb-14 0:32
professionalEddy Vluggen19-Feb-14 0:32 
GeneralRe: Multiple methods vs Single method with enum Pin
Harley L. Pebley19-Feb-14 5:26
Harley L. Pebley19-Feb-14 5:26 
GeneralRe: Multiple methods vs Single method with enum Pin
Eddy Vluggen19-Feb-14 7:35
professionalEddy Vluggen19-Feb-14 7:35 
GeneralRe: Multiple methods vs Single method with enum Pin
Harley L. Pebley20-Feb-14 5:31
Harley L. Pebley20-Feb-14 5:31 
GeneralRe: Multiple methods vs Single method with enum Pin
Eddy Vluggen20-Feb-14 8:53
professionalEddy Vluggen20-Feb-14 8:53 
GeneralRe: Multiple methods vs Single method with enum Pin
Harley L. Pebley19-Feb-14 5:23
Harley L. Pebley19-Feb-14 5:23 
AnswerRe: Multiple methods vs Single method with enum Pin
Keld Ølykke4-Mar-14 19:13
Keld Ølykke4-Mar-14 19:13 
GeneralRe: Multiple methods vs Single method with enum Pin
Harley L. Pebley6-Mar-14 9:27
Harley L. Pebley6-Mar-14 9:27 
QuestionCMS Structure for Project Collaboration. Pin
Brady Kelly14-Feb-14 22:23
Brady Kelly14-Feb-14 22:23 
AnswerRe: CMS Structure for Project Collaboration. Pin
Ahmed Bensaid26-Feb-14 23:45
professionalAhmed Bensaid26-Feb-14 23:45 
GeneralRe: CMS Structure for Project Collaboration. Pin
Brady Kelly27-Feb-14 2:29
Brady Kelly27-Feb-14 2:29 
QuestionSuggestions or comments needed: Abstracting Data Access Layer Pin
Charles Merighi13-Feb-14 6:02
Charles Merighi13-Feb-14 6:02 
QuestionRe: Suggestions or comments needed: Abstracting Data Access Layer Pin
José Amílcar Casimiro13-Feb-14 6:59
José Amílcar Casimiro13-Feb-14 6:59 
AnswerRe: Suggestions or comments needed: Abstracting Data Access Layer Pin
jschell13-Feb-14 8:56
jschell13-Feb-14 8:56 
AnswerRe: Suggestions or comments needed: Abstracting Data Access Layer Pin
Eddy Vluggen13-Feb-14 9:27
professionalEddy Vluggen13-Feb-14 9:27 
GeneralRe: Suggestions or comments needed: Abstracting Data Access Layer Pin
Charles Merighi13-Feb-14 10:45
Charles Merighi13-Feb-14 10:45 
I agree with the comment regarding a shared interface.

But inserting large number of records into Oracle works very differently from SQL/Informix. SQL's bulk loader does not share a common interface with Oracle. It is not important to discuss their interfaces here. Besides, that is a design test at this point.

Guys, but the business layer is not inheriting from the data implementation, such as the Oracle-specific implementation class. The business object Bonus does not know where the data is coming from. Removing the inheritance would mean that a client would be able to access the Name property for the business object, which makes no sense to me. Example:

Bonus obj = new Bonus( new LevelBonus_SQL() );
obj.Name = "some name";
obj.Load(); //It will load from SQL, but the business Bonus object does not know

PROBLEM: Remove the inheritance and I can no longer access obj.Name.

modified 13-Feb-14 17:28pm.

GeneralRe: Suggestions or comments needed: Abstracting Data Access Layer Pin
jschell14-Feb-14 10:00
jschell14-Feb-14 10:00 
GeneralRe: Suggestions or comments needed: Abstracting Data Access Layer Pin
Eddy Vluggen14-Feb-14 22:53
professionalEddy Vluggen14-Feb-14 22:53 
AnswerRe: Suggestions or comments needed: Abstracting Data Access Layer Pin
V.16-Feb-14 22:51
professionalV.16-Feb-14 22:51 
AnswerRe: Suggestions or comments needed: Abstracting Data Access Layer Pin
John D. Sanders28-Feb-14 6:58
John D. Sanders28-Feb-14 6:58 
Questionlooking for design pattern which does continous monitoring Pin
manishakc10-Feb-14 18:55
manishakc10-Feb-14 18:55 
AnswerRe: looking for design pattern which does continous monitoring Pin
Richard MacCutchan10-Feb-14 21:08
mveRichard MacCutchan10-Feb-14 21:08 

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.