How would being able to add a new value to an enumeration help, without distributing new business logic code that uses the new enumeration value?
You might say "the business logic is loaded at runtime, so I don't have to compile a new app -- I just send a new business logic assembly specific for this client." If that's the case, put the enumeration definition either in a separate assembly and send out the enumeration definition assembly at the same time (or put the enumeration in the business logic assembly). At 10:52 PM 5/17/2005, Ben Kloosterman wrote >In most apps I have a number of enumerations which are used in business >logic .ie if ( job.State == Accepted) or if (service == >SpecialAirDelivery). Though these change rarely often I am forced to >use a class and a table to handle these rare changes , or have to >compile a new app . > >What I would like to do is have a simple table which can be used to >extend a number of enumerations which can be changed on the live system. > > >I suppose I could use a class with constants, to do the same . Is it >possible to extend this . > > >Regards , > > Ben >[snip] J. Merrill / Analytical Software Corp =================================== This list is hosted by DevelopMentorŪ http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com