Click here to Skip to main content
15,898,920 members
Home / Discussions / C#
   

C#

 
GeneralRe: Linq2Sql cannot add an entity Pin
Pete O'Hanlon4-Sep-12 23:53
mvePete O'Hanlon4-Sep-12 23:53 
GeneralRe: Linq2Sql cannot add an entity Pin
kenajelencres5-Sep-12 12:47
kenajelencres5-Sep-12 12:47 
GeneralRe: Linq2Sql cannot add an entity Pin
Pete O'Hanlon5-Sep-12 20:13
mvePete O'Hanlon5-Sep-12 20:13 
QuestionStart pages for beginners Pin
mauricemcse4-Sep-12 8:59
mauricemcse4-Sep-12 8:59 
AnswerRe: Start pages for beginners Pin
Eddy Vluggen4-Sep-12 9:03
professionalEddy Vluggen4-Sep-12 9:03 
QuestionRTD help at C# Pin
yatici4-Sep-12 7:39
yatici4-Sep-12 7:39 
AnswerRe: RTD help at C# Pin
Karl Sanford4-Sep-12 9:28
professionalKarl Sanford4-Sep-12 9:28 
GeneralRe: RTD help at C# Pin
yatici4-Sep-12 10:08
yatici4-Sep-12 10:08 
AnswerRe: RTD help at C# Pin
Eddy Vluggen4-Sep-12 22:00
professionalEddy Vluggen4-Sep-12 22:00 
QuestionC# proxy class Pin
sc steinhayse4-Sep-12 6:52
sc steinhayse4-Sep-12 6:52 
AnswerRe: C# proxy class Pin
Pete O'Hanlon4-Sep-12 7:03
mvePete O'Hanlon4-Sep-12 7:03 
GeneralRe: C# proxy class Pin
sc steinhayse4-Sep-12 12:29
sc steinhayse4-Sep-12 12:29 
GeneralRe: C# proxy class Pin
Pete O'Hanlon4-Sep-12 22:06
mvePete O'Hanlon4-Sep-12 22:06 
QuestionHow to do architecture design? Pin
yu-jian4-Sep-12 5:56
yu-jian4-Sep-12 5:56 
AnswerRe: How to do architecture design? Pin
Pete O'Hanlon4-Sep-12 5:59
mvePete O'Hanlon4-Sep-12 5:59 
AnswerRe: How to do architecture design? Pin
Eddy Vluggen4-Sep-12 6:04
professionalEddy Vluggen4-Sep-12 6:04 
I'm usually sticking to generalizing what they have in common into an interface (altough an abstract class might be preferred under some conditions), with a strategy-pattern to switch between actual implementations.

No, they needn't be 100% equal; sometimes one of the implementations has an extra property, or lacks one. If it lacks the property, we implement a dummy. The "extras" are usually put in a separate class that's embedded in the object, comparable to the composition-pattern.

Can you describe the three items roughly with it's most important members?
Bastard Programmer from Hell Suspicious | :suss:
if you can't read my code, try converting it here[^]

GeneralRe: How to do architecture design? Pin
yu-jian4-Sep-12 6:30
yu-jian4-Sep-12 6:30 
GeneralRe: How to do architecture design? Pin
Eddy Vluggen4-Sep-12 6:47
professionalEddy Vluggen4-Sep-12 6:47 
AnswerRe: How to do architecture design? Pin
jschell4-Sep-12 11:51
jschell4-Sep-12 11:51 
QuestionC# windows service Pin
sc steinhayse4-Sep-12 4:56
sc steinhayse4-Sep-12 4:56 
AnswerRe: C# windows service Pin
Pete O'Hanlon4-Sep-12 5:11
mvePete O'Hanlon4-Sep-12 5:11 
GeneralRe: C# windows service Pin
sc steinhayse4-Sep-12 12:25
sc steinhayse4-Sep-12 12:25 
GeneralRe: C# windows service Pin
Dave Kreskowiak4-Sep-12 17:30
mveDave Kreskowiak4-Sep-12 17:30 
AnswerRe: C# windows service Pin
Eddy Vluggen4-Sep-12 5:14
professionalEddy Vluggen4-Sep-12 5:14 
QuestionHow I found answers to my questions Pin
Klaus Kirchhoff3-Sep-12 23:37
Klaus Kirchhoff3-Sep-12 23:37 

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.