You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.4 KiB

2 years ago
  1. namespace SqlSugar
  2. {
  3. internal static partial class ErrorMessage
  4. {
  5. internal static string OperatorError
  6. {
  7. get
  8. {
  9. return ErrorMessage.GetThrowMessage("Lambda parsing error: {0} does not support the operator to find!","拉姆达解析出错:不支持{0}此种运算符查找!");
  10. }
  11. }
  12. internal static string ExpFileldError
  13. {
  14. get
  15. {
  16. return ErrorMessage.GetThrowMessage("Expression format error, correct format: it=>it.fieldName","表达式格式错误,正确格式: it=>it.fieldName");
  17. }
  18. }
  19. internal static string MethodError
  20. {
  21. get
  22. {
  23. return ErrorMessage.GetThrowMessage("Expression parsing does not support the current function {0}. There are many functions available in the SqlFunc class, for example, it=>SqlFunc.HasValue(it.Id)", "拉姆达解析不支持当前函数{0},SqlFunc这个类里面有大量函数可用,也许有你想要的,例如: it=>SqlFunc.HasValue(it.Id)");
  24. }
  25. }
  26. public static string ConnnectionOpen
  27. {
  28. get
  29. {
  30. return ErrorMessage.GetThrowMessage("Connection open error . {0}", " 连接数据库过程中发生错误,检查服务器是否正常连接字符串是否正确,实在找不到原因请先Google错误信息:{0}.");
  31. }
  32. }
  33. }
  34. }