错误一:

套接字连接已中止。这可能是由于处理消息时出错或远程主机超过接收超时或者潜在的网络资源问题导致的。本地套接字超时是“00:00:59.9062500”。

 private string FormatWhere(object beFormatWhere)
        {
            string where = Convert.ToString(beFormatWhere).ToLower();
            if (where.IndexOfAny(new char[] { '=', '>', '<' }) == -1 && !where.Contains("like") && !where.Contains("between") && !where.Contains("in"))
            {
                return entity.PrimaryKey + "=" + where;
            }
            return where;
        }

 

相关文章:

  • 2021-07-31
  • 2021-08-04
  • 2022-12-23
  • 2021-07-26
  • 2021-09-08
  • 2021-07-30
猜你喜欢
  • 2022-02-28
  • 2022-12-23
  • 2021-08-16
  • 2021-06-28
  • 2021-08-12
  • 2022-01-08
  • 2021-06-05
相关资源
相似解决方案