Browse Source

-

pull/12/MERGE
sunkaixuan 8 years ago
parent
commit
728c352080
  1. BIN
      .vs/SqlSugar/v14/.suo
  2. BIN
      OrmTest/bin/Debug/OrmTest.exe
  3. BIN
      OrmTest/bin/Debug/OrmTest.pdb
  4. BIN
      OrmTest/bin/Debug/SqlSugar.dll
  5. BIN
      OrmTest/bin/Debug/SqlSugar.pdb
  6. BIN
      OrmTest/obj/Debug/OrmTest.csprojResolveAssemblyReference.cache
  7. BIN
      OrmTest/obj/Debug/OrmTest.exe
  8. BIN
      OrmTest/obj/Debug/OrmTest.pdb
  9. 20
      SqlSugar/ExpressionsToSql/ExpressionConst.cs
  10. 27
      SqlSugar/ExpressionsToSql/ExpressionErrorMessage.cs
  11. 2
      SqlSugar/ExpressionsToSql/ExpressionTool.cs
  12. 1
      SqlSugar/SqlSugar.csproj
  13. BIN
      SqlSugar/bin/Debug/Newtonsoft.Json.dll
  14. BIN
      SqlSugar/bin/Debug/SqlSugar.dll
  15. BIN
      SqlSugar/bin/Debug/SqlSugar.pdb
  16. BIN
      SqlSugar/obj/Debug/SqlSugar.csprojResolveAssemblyReference.cache
  17. BIN
      SqlSugar/obj/Debug/SqlSugar.dll
  18. BIN
      SqlSugar/obj/Debug/SqlSugar.pdb

BIN
.vs/SqlSugar/v14/.suo

Binary file not shown.

BIN
OrmTest/bin/Debug/OrmTest.exe

Binary file not shown.

BIN
OrmTest/bin/Debug/OrmTest.pdb

Binary file not shown.

BIN
OrmTest/bin/Debug/SqlSugar.dll

Binary file not shown.

BIN
OrmTest/bin/Debug/SqlSugar.pdb

Binary file not shown.

BIN
OrmTest/obj/Debug/OrmTest.csprojResolveAssemblyReference.cache

Binary file not shown.

BIN
OrmTest/obj/Debug/OrmTest.exe

Binary file not shown.

BIN
OrmTest/obj/Debug/OrmTest.pdb

Binary file not shown.

20
SqlSugar/ExpressionsToSql/ExpressionConst.cs

@ -20,24 +20,4 @@ namespace SqlSugar
return string.Format("\r\n English Message : {0}\r\n Chinese Message : {1}", formatArgs.ToArray());
}
}
internal partial class ErrorMessage
{
internal static string OperatorError
{
get
{
return ExpressionConst.GetThrowMessage("拉姆达解析出错:不支持{0}此种运算符查找!",
"Lambda parsing error: {0} does not support the operator to find!");
}
}
internal static string ExpFileldError
{
get
{
return ExpressionConst.GetThrowMessage("Expression format error, correct format: it=>it.fieldName",
"表达示格式错误,正确格式: it=>it.fieldName");
}
}
}
}

27
SqlSugar/ExpressionsToSql/ExpressionErrorMessage.cs

@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SqlSugar
{
internal class ExpressionErrorMessage
{
internal static string OperatorError
{
get
{
return ExpressionConst.GetThrowMessage("拉姆达解析出错:不支持{0}此种运算符查找!",
"Lambda parsing error: {0} does not support the operator to find!");
}
}
internal static string ExpFileldError
{
get
{
return ExpressionConst.GetThrowMessage("Expression format error, correct format: it=>it.fieldName",
"表达示格式错误,正确格式: it=>it.fieldName");
}
}
}
}

2
SqlSugar/ExpressionsToSql/ExpressionTool.cs

@ -41,7 +41,7 @@ namespace SqlSugar
case ExpressionType.MultiplyChecked:
return "*";
default:
throw new NotSupportedException(string.Format(ErrorMessage.OperatorError, expressiontype.ToString()));
throw new NotSupportedException(string.Format(ExpressionErrorMessage.OperatorError, expressiontype.ToString()));
}
}
}

1
SqlSugar/SqlSugar.csproj

@ -98,6 +98,7 @@
<Compile Include="Entities\DbColumnInfo.cs" />
<Compile Include="Entities\DbTableInfo.cs" />
<Compile Include="ExpressionsToSql\BinaryExpressionInfo.cs" />
<Compile Include="ExpressionsToSql\ExpressionErrorMessage.cs" />
<Compile Include="ExpressionsToSql\SugarParameter.cs" />
<Compile Include="ExpressionsToSql\ExpressionParameter.cs" />
<Compile Include="Entities\JoinQueryInfo.cs" />

BIN
SqlSugar/bin/Debug/Newtonsoft.Json.dll

Binary file not shown.

BIN
SqlSugar/bin/Debug/SqlSugar.dll

Binary file not shown.

BIN
SqlSugar/bin/Debug/SqlSugar.pdb

Binary file not shown.

BIN
SqlSugar/obj/Debug/SqlSugar.csprojResolveAssemblyReference.cache

Binary file not shown.

BIN
SqlSugar/obj/Debug/SqlSugar.dll

Binary file not shown.

BIN
SqlSugar/obj/Debug/SqlSugar.pdb

Binary file not shown.
Loading…
Cancel
Save