private void open() { if (m_db == null) { m_db = new mobilespyEntities(); } if (m_tran == null) { m_tran = new TransactionScope(); } }
private void close() { if (m_tran != null) { m_tran.Dispose(); m_tran = null; } if (m_db != null) { m_db.Dispose(); m_db = null; } }
internal dContact(mobilespyEntities db, Int64 id) { m_db = db; m_id = id; }
internal dDevice(mobilespyEntities db, Int64 session) { m_db = db; m_session = session; }