示例#1
0
        public void SaveMsg(Model.MsgModel model)
        {
            DAL.MsgDAL dal = new DAL.MsgDAL();

            dal.DeleteList(" SendDeviceId='" + model.SendDeviceId + "' and TargetDeviceId='" + model.TargetDeviceId + "' and MsgTextId='" + model.MsgTextId + "'  ");

            dal.Add(model);
        }