Click here to Skip to main content
15,924,038 members
Home / Discussions / C#
   

C#

 
GeneralRe: Dispose doubts Pin
Peterson Luiz30-May-07 6:40
Peterson Luiz30-May-07 6:40 
AnswerRe: Dispose doubts Pin
Martin#30-May-07 8:46
Martin#30-May-07 8:46 
GeneralRe: Dispose doubts Pin
Peterson Luiz30-May-07 9:25
Peterson Luiz30-May-07 9:25 
AnswerRe: Dispose doubts Pin
Martin#30-May-07 10:17
Martin#30-May-07 10:17 
AnswerRe: Dispose doubts Pin
Jimmanuel30-May-07 6:30
Jimmanuel30-May-07 6:30 
Questionwant to make a folder sharable programatically Pin
devesh_code30-May-07 4:12
devesh_code30-May-07 4:12 
AnswerRe: want to make a folder sharable programatically Pin
Manoj Kumar Rai30-May-07 4:31
professionalManoj Kumar Rai30-May-07 4:31 
QuestionAdvice Pin
wwwlicious30-May-07 4:03
wwwlicious30-May-07 4:03 
I have a table of data 'properties' containing

PropertyID int ident,
PropertyName varchar,
PropertyRequired bit,
PropertyType varchar,
PropertyValue varchar

I'm looking to create a BLL with a class MyProperties and an enum MyPropertyTypes
The MyPropertyTypes are Number, Text, Date, Boolean, ListFixed, ListCustom, Range

For the Number,Text,Date,Boolean only a single value is present but for the rest they can have more than one value

what is the best way to model a class/es to incorporate the properties common to all (ID, Name, Required, Type) and the properties specific to each PropertyType which can vary by both number and object type?


Thanks in advance
Mac.
AnswerRe: Advice [modified] Pin
Not Active30-May-07 4:12
mentorNot Active30-May-07 4:12 
GeneralRe: Advice Pin
wwwlicious30-May-07 4:32
wwwlicious30-May-07 4:32 
GeneralRe: Advice Pin
Manoj Kumar Rai30-May-07 4:48
professionalManoj Kumar Rai30-May-07 4:48 
QuestionRe: Advice Pin
wwwlicious30-May-07 5:03
wwwlicious30-May-07 5:03 
AnswerRe: Advice Pin
Manoj Kumar Rai30-May-07 5:19
professionalManoj Kumar Rai30-May-07 5:19 
GeneralRe: Advice Pin
wwwlicious30-May-07 6:00
wwwlicious30-May-07 6:00 
GeneralRe: Advice Pin
Not Active30-May-07 9:37
mentorNot Active30-May-07 9:37 
GeneralRe: Advice Pin
wwwlicious30-May-07 22:37
wwwlicious30-May-07 22:37 
GeneralRe: Advice Pin
Not Active31-May-07 2:06
mentorNot Active31-May-07 2:06 
AnswerRe: Advice Pin
wwwlicious31-May-07 2:58
wwwlicious31-May-07 2:58 
Questionreading elements of xml Pin
saqib8230-May-07 3:22
saqib8230-May-07 3:22 
AnswerRe: reading elements of xml Pin
Affan Toor30-May-07 3:45
Affan Toor30-May-07 3:45 
QuestionHow to maintain the scrolled view of the datagridview after rebinding? Pin
Affan Toor30-May-07 3:21
Affan Toor30-May-07 3:21 
QuestionHow to get MS Exchange - Public Folder - Calendar entries Pin
Markus_P_online30-May-07 3:08
Markus_P_online30-May-07 3:08 
Questionmovie control Pin
Ravikumar Patra30-May-07 2:42
professionalRavikumar Patra30-May-07 2:42 
Questionreading xml string Pin
saqib8230-May-07 2:42
saqib8230-May-07 2:42 
AnswerRe: reading xml string Pin
JoeSharp30-May-07 3:00
JoeSharp30-May-07 3:00 

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.