Пример #1
0
            public Session(SQLiteProvider sqLiteProvider)
            {
                _index          = ++Index;
                _sqLiteProvider = sqLiteProvider;

                _sqLiteProvider.WriteDebug(String.Format("+{0} Opening session {0}", _index));
            }
Пример #2
0
 public Session(SQLiteProvider sqLiteProvider)
 {
     _index = ++Index;
     _sqLiteProvider = sqLiteProvider;
     
     _sqLiteProvider.WriteDebug( String.Format( "+{0} Opening session {0}", _index) );
 }
Пример #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;
     }
 }