Skip to content

Commit

Permalink
Pulling over changes from a different branch from before rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
benrr101 committed Mar 22, 2024
1 parent 14d118b commit f366ec3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,9 @@
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\SqlBatchCommand.cs">
<Link>Microsoft\Data\SqlClient\SqlBatchCommand.cs</Link>
</Compile>
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\SqlBatchCommand.Net8OrGreater.cs">
<Link>Microsoft\Data\SqlClient\SqlBatchCommand.Net8OrGreater.cs</Link>
</Compile>
<Compile Include="$(CommonSourceRoot)Microsoft\Data\SqlClient\SqlBatchCommandCollection.cs">
<Link>Microsoft\Data\SqlClient\SqlBatchCommandCollection.cs</Link>
</Compile>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

#if NET6_0_OR_GREATER

using System.Data.Common;

namespace Microsoft.Data.SqlClient
Expand All @@ -18,3 +20,5 @@ public sealed partial class SqlClientFactory : DbProviderFactory
public override DbBatchCommand CreateBatchCommand() => new SqlBatchCommand();
}
}

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

#if NET8_0_OR_GREATER

using System.Data.Common;

namespace Microsoft.Data.SqlClient
Expand All @@ -15,3 +17,5 @@ public partial class SqlBatchCommand
public override bool CanCreateParameter => true;
}
}

#endif

0 comments on commit f366ec3

Please sign in to comment.