Define Properties

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

I created a library with various web control classes. All these
classes access to an SQL database and have a few common properties.

Some of the properties are commonly used by the web controls classes
are: ConnectionString [String], Mode [Enumeration], Keys [Array of
String], etc.

I need to implement a way in my library to define these common
properties once and then access those values in my web controls
classes.

Which approach should I use?

Thank You,

Miguel
 
either inherit from a common base that implments these methods, or
define an interface.


-- bruce (sqlwork.com)
 
Back
Top