File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change
1
+ namespace Umbraco . Core
2
+ {
3
+ public static partial class Constants
4
+ {
5
+ public static class Sql
6
+ {
7
+ /// <summary>
8
+ /// The maximum amount of parameters that can be used in a query.
9
+ /// </summary>
10
+ /// <remarks>
11
+ /// The actual limit is 2100 (https://docs.microsoft.com/en-us/sql/sql-server/maximum-capacity-specifications-for-sql-server),
12
+ /// but we want to ensure there's room for additional parameters if this value is used to create groups/batches.
13
+ /// </remarks>
14
+ public const int MaxParameterCount = 2000 ;
15
+ }
16
+ }
17
+ }
Original file line number Diff line number Diff line change 132
132
<Compile Include =" Configuration\ICoreDebug.cs" />
133
133
<Compile Include =" Constants-CharArrays.cs" />
134
134
<Compile Include =" Collections\EventClearingObservableCollection.cs" />
135
+ <Compile Include =" Constants-Sql.cs" />
135
136
<Compile Include =" Constants-SqlTemplates.cs" />
136
137
<Compile Include =" Events\UnattendedInstallEventArgs.cs" />
137
138
<Compile Include =" Logging\ILogger2.cs" />
1665
1666
<Folder Include =" Auditing\" />
1666
1667
</ItemGroup >
1667
1668
<Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
1668
- </Project >
1669
+ </Project >
You can’t perform that action at this time.
0 commit comments