Skip to content

InProcess Configuration

teamdev edited this page May 2, 2012 · 12 revisions

Configure DensoDB is a trivial task. Denso is configurable using a Configuration class.

  1. Create your own project, and add denso.core and denso.meta as references.
  2. Include the DeNSo.Core namespace in your source file with "using" keywork.
using DeNSo.Core;```

3. Tell denso the name of your DB using this statment 

    `Session.DefaultDataBase = "mydatabasename";`

4. If you want you can change the DataBase path 

    `DeNSo.Core.Configuration.BasePath = "the path of my DB"`

you are ready to use Denso.. :)

Clone this wiki locally