123456789101112131415161718192021222324252627 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace LYFZ.WanYuKeFuData.DAL
- {
- public class MsgReadStatus : BaseDataOperate<LYFZ.WanYuKeFuData.Model.MsgReadStatus>
- {
- public MsgReadStatus(LYFZ.WanYuKeFuData.Model.DBConnection dbConn)
- {
- base.DBConn = dbConn;
- }
- /// <summary>
- /// 检查记录是否存在
- /// </summary>
- /// <param name="msgid"></param>
- /// <param name="userid"></param>
- /// <returns></returns>
- public bool CheckMsgReadExists(long msgid, string userid)
- {
- return this.Exists(String.Format(" msgID={0} and UserID='{1}' ",msgid,userid));
- }
- }
- }
|