Esempio n. 1
0
 public PhoneDistrict(SQLiteDataReader reader)
 {
     _reader = reader;
 }
Esempio n. 2
0
 public RecentCall(SQLiteDataReader reader)
 {
     _reader = reader;
 }
Esempio n. 3
0
        internal void AttachDataReader(SQLiteDataReader reader)
        {
            _ServingDataReader = true;

            if(_Connection != null) _Connection.AttachDataReader(reader);
        }
Esempio n. 4
0
        internal void DetachDataReader(SQLiteDataReader reader)
        {
            if(_Connection != null) _Connection.DetachDataReader(reader);

            _Statements.Dispose();
            _ServingDataReader = false;
        }
Esempio n. 5
0
 internal void DetachDataReader(SQLiteDataReader reader)
 {
     _DataReaderCount--;
     if (_DataReaderCount == 0 && _State == ConnectionState.Executing) _State = ConnectionState.Open;
     if((reader._CommandBehavior & CommandBehavior.CloseConnection) != 0)
     {
         if (_DataReaderCount == 0)
         {
             Close();
         }
         else
         {
             throw new SQLiteException("There is allready another DataReader opened. Connection cannot be closed by closing DataReader.");
         }
     }
 }
Esempio n. 6
0
 internal void AttachDataReader(SQLiteDataReader reader)
 {
     _DataReaderCount ++;
     _State = ConnectionState.Executing;
 }
Esempio n. 7
0
 public ContactDetail(SQLiteDataReader reader)
 {
     _reader = reader;
 }
Esempio n. 8
0
 public Contact(SQLiteDataReader reader)
 {
     _reader = reader;
 }
Esempio n. 9
0
 public Message(SQLiteDataReader reader)
 {
     _reader = reader;
 }