Exemple #1
0
            public Session(SQLiteProvider sqLiteProvider)
            {
                _index          = ++Index;
                _sqLiteProvider = sqLiteProvider;

                _sqLiteProvider.WriteDebug(String.Format("+{0} Opening session {0}", _index));
            }
Exemple #2
0
 public Session(SQLiteProvider sqLiteProvider)
 {
     _index = ++Index;
     _sqLiteProvider = sqLiteProvider;
     
     _sqLiteProvider.WriteDebug( String.Format( "+{0} Opening session {0}", _index) );
 }
Exemple #3
0
 public void Dispose()
 {
     if (null != _wrapper)
     {
         _wrapper.Dispose();
         _wrapper = null;
     }
     if (null != _sqLiteProvider)
     {
         _sqLiteProvider.WriteDebug(String.Format("-{0} Closing session {0}", _index));
         _sqLiteProvider = null;
     }
 }