Browse Source

Update Oracle US7ASCLL

pull/31/head
sunkaixuan 2 years ago
parent
commit
9f90602939
  1. 18
      Src/OracleUS7ASCII/SqlSugar.sln
  2. 16
      Src/OracleUS7ASCII/SqlSugar/Realization/Oracle/SqlBuilder/OracleInsertBuilder.cs

18
Src/OracleUS7ASCII/SqlSugar.sln

@ -5,8 +5,6 @@ VisualStudioVersion = 17.4.33103.184
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SqlSugar", "SqlSugar\SqlSugar.csproj", "{489BB790-226C-4FAD-8D1E-51D72A7FF8E5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OracleTest", "..\OracleTest\OracleTest.csproj", "{4CA26A6D-272E-4F0E-AC7A-E6BD28CAE11B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -35,22 +33,6 @@ Global
{489BB790-226C-4FAD-8D1E-51D72A7FF8E5}.Release|x64.Build.0 = Release|Any CPU
{489BB790-226C-4FAD-8D1E-51D72A7FF8E5}.Release|x86.ActiveCfg = Release|Any CPU
{489BB790-226C-4FAD-8D1E-51D72A7FF8E5}.Release|x86.Build.0 = Release|Any CPU
{4CA26A6D-272E-4F0E-AC7A-E6BD28CAE11B}.Debug|Any CPU.ActiveCfg = Debug|x86
{4CA26A6D-272E-4F0E-AC7A-E6BD28CAE11B}.Debug|Any CPU.Build.0 = Debug|x86
{4CA26A6D-272E-4F0E-AC7A-E6BD28CAE11B}.Debug|ARM64.ActiveCfg = Debug|ARM64
{4CA26A6D-272E-4F0E-AC7A-E6BD28CAE11B}.Debug|ARM64.Build.0 = Debug|ARM64
{4CA26A6D-272E-4F0E-AC7A-E6BD28CAE11B}.Debug|x64.ActiveCfg = Debug|x64
{4CA26A6D-272E-4F0E-AC7A-E6BD28CAE11B}.Debug|x64.Build.0 = Debug|x64
{4CA26A6D-272E-4F0E-AC7A-E6BD28CAE11B}.Debug|x86.ActiveCfg = Debug|x86
{4CA26A6D-272E-4F0E-AC7A-E6BD28CAE11B}.Debug|x86.Build.0 = Debug|x86
{4CA26A6D-272E-4F0E-AC7A-E6BD28CAE11B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4CA26A6D-272E-4F0E-AC7A-E6BD28CAE11B}.Release|Any CPU.Build.0 = Release|Any CPU
{4CA26A6D-272E-4F0E-AC7A-E6BD28CAE11B}.Release|ARM64.ActiveCfg = Release|ARM64
{4CA26A6D-272E-4F0E-AC7A-E6BD28CAE11B}.Release|ARM64.Build.0 = Release|ARM64
{4CA26A6D-272E-4F0E-AC7A-E6BD28CAE11B}.Release|x64.ActiveCfg = Release|x64
{4CA26A6D-272E-4F0E-AC7A-E6BD28CAE11B}.Release|x64.Build.0 = Release|x64
{4CA26A6D-272E-4F0E-AC7A-E6BD28CAE11B}.Release|x86.ActiveCfg = Release|x86
{4CA26A6D-272E-4F0E-AC7A-E6BD28CAE11B}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

16
Src/OracleUS7ASCII/SqlSugar/Realization/Oracle/SqlBuilder/OracleInsertBuilder.cs

@ -186,17 +186,17 @@ namespace SqlSugar
}
else if (type == UtilConstants.StringType || type == UtilConstants.ObjType)
{
if (value.ToString().Length > 1000)
{
++i;
//if (value.ToString().Length > 1000)
//{
// ++i;
var parameterName = this.Builder.SqlParameterKeyWord + name + i;
this.Parameters.Add(new SugarParameter(parameterName, value));
return parameterName;
}
else
{
return N + "'" + value.ToString().ToSqlFilter() + "'";
}
//}
//else
//{
// return N + "'" + value.ToString().ToSqlFilter() + "'";
//}
}
else
{

Loading…
Cancel
Save