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

C#

 
GeneralRe: How to translate Win32 error codes Pin
Jörgen Sigvardsson30-Sep-09 2:08
Jörgen Sigvardsson30-Sep-09 2:08 
GeneralRe: How to translate Win32 error codes Pin
Martijn van Kleef8-Dec-10 22:53
Martijn van Kleef8-Dec-10 22:53 
AnswerRe: How to translate Win32 error codes Pin
Luc Pattyn30-Sep-09 2:11
sitebuilderLuc Pattyn30-Sep-09 2:11 
GeneralRe: How to translate Win32 error codes Pin
Jörgen Sigvardsson30-Sep-09 2:13
Jörgen Sigvardsson30-Sep-09 2:13 
GeneralRe: How to translate Win32 error codes Pin
Luc Pattyn30-Sep-09 2:20
sitebuilderLuc Pattyn30-Sep-09 2:20 
QuestionProblem In Window Services in C# Pin
Anudeep Jaiswal - MCA30-Sep-09 1:34
Anudeep Jaiswal - MCA30-Sep-09 1:34 
AnswerRe: Problem In Window Services in C# Pin
SeMartens30-Sep-09 1:44
SeMartens30-Sep-09 1:44 
QuestionHow to load entity properties conditionally Pin
Vikas Misra(TCS)30-Sep-09 1:24
Vikas Misra(TCS)30-Sep-09 1:24 
Hi,
Suppose i have an entity class which belongs to version table in the database having following properties for the fileds(columns)
#region Properties
private string _Program;

public string Program
{
get { return _Program; }
set { _Program = value; }
}

private string _AllowVersion;

public string AllowVersion
{
get { return _AllowVersion; }
set { _AllowVersion = value; }
}
#endregion

Suppose in a method i need to pass only one property so i will have to intitalize Entity class of version
which will have two properties but i need only one.
Do we have any way to tell version entity class that only load AllowVersion property only while initializing version entity and discard rest of the properties i.e my VersionEntity object must have only
one field.

I guess the only possible ways could be attributes or reflection. If possible please provide code snippet
to achieve this.
Is it possible to do this without performance cost??

Thanks In Advance
QuestionHow Can I Create Printer Pin
Anubhava Dimri30-Sep-09 1:00
Anubhava Dimri30-Sep-09 1:00 
AnswerRe: How Can I Create Printer Pin
Wes Aday30-Sep-09 1:13
professionalWes Aday30-Sep-09 1:13 
AnswerRe: How Can I Create Printer Pin
Richard MacCutchan30-Sep-09 1:14
mveRichard MacCutchan30-Sep-09 1:14 
Questionfile can be write on XP but can not on VISTA Pin
khosnur30-Sep-09 0:46
khosnur30-Sep-09 0:46 
AnswerRe: file can be write on XP but can not on VISTA Pin
Calla30-Sep-09 1:01
Calla30-Sep-09 1:01 
GeneralRe: file can be write on XP but can not on VISTA Pin
khosnur30-Sep-09 1:07
khosnur30-Sep-09 1:07 
GeneralRe: file can be write on XP but can not on VISTA Pin
Calla30-Sep-09 1:21
Calla30-Sep-09 1:21 
GeneralRe: file can be write on XP but can not on VISTA Pin
khosnur30-Sep-09 1:43
khosnur30-Sep-09 1:43 
GeneralRe: file can be write on XP but can not on VISTA Pin
DaveyM6930-Sep-09 1:28
professionalDaveyM6930-Sep-09 1:28 
GeneralRe: file can be write on XP but can not on VISTA Pin
khosnur30-Sep-09 1:45
khosnur30-Sep-09 1:45 
AnswerRe: file can be write on XP but can not on VISTA Pin
Keith Barrow30-Sep-09 1:09
professionalKeith Barrow30-Sep-09 1:09 
GeneralRe: file can be write on XP but can not on VISTA Pin
khosnur30-Sep-09 1:13
khosnur30-Sep-09 1:13 
AnswerRe: file can be write on XP but can not on VISTA Pin
Richard MacCutchan30-Sep-09 3:05
mveRichard MacCutchan30-Sep-09 3:05 
QuestionCD Burning in VISTA Pin
Edward Topalian30-Sep-09 0:39
Edward Topalian30-Sep-09 0:39 
AnswerRe: CD Burning in VISTA Pin
Christian Graus30-Sep-09 0:43
protectorChristian Graus30-Sep-09 0:43 
AnswerRe: CD Burning in VISTA [modified] Pin
User 21559730-Sep-09 0:57
User 21559730-Sep-09 0:57 
QuestionCrystal report color Pin
antala30-Sep-09 0:27
antala30-Sep-09 0:27 

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.