ORM Sample Class Library

Config Class

Wraps the app.config file by exposing it's key/value pairs as static properties.

For a list of all members of this type, see Config Members.


[Visual Basic]
Public Class Config
public class Config

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


For example, instead of using

DataManager dm = new DataManager(ConfigurationSettings.AppSettings["dsn"]);
the wrapped static method can be used:
DataManager dm = new DataManager(Config.Dsn);


Namespace: OleroTrainingBiz

Assembly: OleroTrainingBiz (in OleroTrainingBiz.dll)

See Also

Config Members | OleroTrainingBiz Namespace

>ICustomTypeDescriptor.GetConverter (inherited from BusinessBase)GetConverter