示例#1
0
        public SmsHistory(int smsHistoryId)
        {
            SqlDataReader reader = new SmsHistoryData().GetSmsHistoryByID(smsHistoryId);

            if (reader.Read())
                LoadSmsHistory(reader);
            reader.Close();
        }
示例#2
0
        public SmsHistory(string smsSid)
        {
            SqlDataReader reader = new SmsHistoryData().GetSmsHistoryBySID(smsSid);

            if (reader.Read())
                LoadSmsHistory(reader);
            reader.Close();
        }
示例#3
0
 private void SaveSmsHistory(string userId)
 {
     _smsHistoryId = new SmsHistoryData().SaveSmsHistory(userId, _smsHistoryId,
         _smsSid, _communicationId, _personId);
 }