public static void SaveRequest(HttpRequest httpRequest, string ip, string recievdData, int channelID)
        {
            try
            {
                SPMonitoringRequestWrapper spFailedRequestWrapper = new SPMonitoringRequestWrapper();

                if (channelID <= 0)
                {
                    spFailedRequestWrapper.ChannelID = null;
                }
                else
                {
                    spFailedRequestWrapper.ChannelID = channelID;
                }



                spFailedRequestWrapper.RecievedSendUrl = httpRequest.Url.ToString();

                spFailedRequestWrapper.RecievedDate = DateTime.Now;

                spFailedRequestWrapper.RecievedContent = recievdData;

                spFailedRequestWrapper.RecievedIP = ip;

                Save(spFailedRequestWrapper);
            }
            catch (Exception e)
            {
                Logger.Error("±£´æʧ°ÜÇëÇóʧ°Ü£º", e);
            }
        }
 public static void Delete(SPMonitoringRequestWrapper instance)
 {
     businessProxy.Delete(instance.entity);
 }
 public static void Refresh(SPMonitoringRequestWrapper instance)
 {
     businessProxy.Refresh(instance.entity);
 }
 public static void SaveOrUpdate(SPMonitoringRequestWrapper obj)
 {
     businessProxy.SaveOrUpdate(obj.entity);
 }