This project has moved. For the latest updates, please go here.

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

NOTE
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 1:02 PM by Lunadix, version 3