Defining Enum Members at runtime

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

HI,

I'd like to wire an enum's properties to a table in a dB at runtime.

Has any one here tried this? Is it possible? And if it is how is it done?

Thanks in advance,
Michael McDowell
 
Do you mean an Enum that you've defined and wish to write to a database (as
in the post) or do you mean to construct an Enum at runtime and then write
it's details to a database?

The first should be simple, then second would beg the question: Why would
you want to create an Enum at runtime?

Thanks.
 
Hi Dan,

It's a variation on the 2nd option. However your are right it does beg a
few questions and in light of these I've decided to take a diffrent approach.

Thanks for the comments/clarification.

Michael
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top