Click here to Skip to main content
15,887,746 members
Home / Discussions / C#
   

C#

 
GeneralRe: Databinding on ComboBox Pin
Gareth H14-Mar-08 5:24
Gareth H14-Mar-08 5:24 
GeneralRe: Databinding on ComboBox Pin
guidoursus14-Mar-08 5:29
guidoursus14-Mar-08 5:29 
QuestionConsole application with args: Is there a way to pass args from VS when debugging? Pin
Frankidoze14-Mar-08 4:37
Frankidoze14-Mar-08 4:37 
AnswerRe: Console application with args: Is there a way to pass args from VS when debugging? Pin
laserbaronen14-Mar-08 4:39
laserbaronen14-Mar-08 4:39 
AnswerRe: Console application with args: Is there a way to pass args from VS when debugging? Pin
Rob Philpott14-Mar-08 4:39
Rob Philpott14-Mar-08 4:39 
GeneralBusiness entities and unique identifiers. Pin
matbuk14-Mar-08 4:08
matbuk14-Mar-08 4:08 
GeneralRe: Business entities and unique identifiers. Pin
Rob Philpott14-Mar-08 4:23
Rob Philpott14-Mar-08 4:23 
GeneralRe: Business entities and unique identifiers. Pin
matbuk14-Mar-08 4:38
matbuk14-Mar-08 4:38 
Thanks for the reply. I'm pretty new to C# and would like to 'Do It right'. But i'm still unclear of a good approach.

How else could i get the ID field into the entity without exposing the entity to potential abuse/mistakes. If i use the constructer of the entity when i populate it from the database, that constructor would still be available throughout the program and would allow an instance to be created adhoc along with a potentially invalid ID. I thought about creating a hidden property by setting it's browsable and editor browsable attributes to false but this felt like a hack to me.
GeneralRe: Business entities and unique identifiers. Pin
Rob Philpott14-Mar-08 4:45
Rob Philpott14-Mar-08 4:45 
GeneralRe: Business entities and unique identifiers. Pin
matbuk14-Mar-08 4:50
matbuk14-Mar-08 4:50 
QuestionHow to view PDF in C# (Window forms) Pin
Khaleek Ahmad14-Mar-08 2:11
Khaleek Ahmad14-Mar-08 2:11 
AnswerRe: How to view PDF in C# (Window forms) Pin
C1AllenS14-Mar-08 3:18
C1AllenS14-Mar-08 3:18 
Generalmaintain back the combobox item Pin
angels77714-Mar-08 1:57
angels77714-Mar-08 1:57 
Questionconsole application issue Pin
Pankaj Garg14-Mar-08 1:02
Pankaj Garg14-Mar-08 1:02 
GeneralRe: console application issue Pin
Rob Philpott14-Mar-08 1:15
Rob Philpott14-Mar-08 1:15 
GeneralAvoid file deletion Pin
Tanuja12314-Mar-08 0:14
Tanuja12314-Mar-08 0:14 
GeneralRe: Avoid file deletion Pin
Rob Philpott14-Mar-08 0:25
Rob Philpott14-Mar-08 0:25 
GeneralRe: Avoid file deletion [modified] Pin
Nilesh Hapse14-Mar-08 1:01
Nilesh Hapse14-Mar-08 1:01 
GeneralRe: Avoid file deletion Pin
Rob Philpott14-Mar-08 1:05
Rob Philpott14-Mar-08 1:05 
GeneralRe: Avoid file deletion Pin
Programm3r14-Mar-08 0:29
Programm3r14-Mar-08 0:29 
GeneralRe: Avoid file deletion Pin
Lutosław14-Mar-08 3:02
Lutosław14-Mar-08 3:02 
GeneralRe: Avoid file deletion Pin
Dave Kreskowiak14-Mar-08 7:13
mveDave Kreskowiak14-Mar-08 7:13 
QuestionTextWriter.WriteLine() Pin
nilam247714-Mar-08 0:06
nilam247714-Mar-08 0:06 
QuestionRe: TextWriter.WriteLine() Pin
Programm3r14-Mar-08 0:16
Programm3r14-Mar-08 0:16 
QuestionRe: TextWriter.WriteLine() Pin
nilam247714-Mar-08 0:20
nilam247714-Mar-08 0:20 

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.