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.

System.Object
   Config

[Visual Basic]
Public Class Config
[C#]
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.

Example

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);

Requirements

Namespace: OleroTrainingBiz

Assembly: OleroTrainingBiz (in OleroTrainingBiz.dll)

See Also

Config Members | OleroTrainingBiz Namespace


>ICustomTypeDescriptor.GetConverter (inherited from BusinessBase)GetConverter