Now we see the real code...

To create a simple Connection to your Database (after you set the connectionstring, see relative chapter) you have to do ... nothing.

Every class in LunaEngine manage his data connection (open, close, ecc...)

In another Chapter in this section we see advanced solution for particular problem

If you want to know how many Connection are active at the moment yuo can ask them to LunaContext simple with:

Dim ActiveConnectionNumber As Integer = LUNA.LunaContext.TotConnAttive
Nothing else...

Last edited Mar 12, 2014 at 12:02 PM by Lunadix, version 3